mattermost-community/focalboard
View on GitHubAPI Integration Tests - ./api/api.go (Files API)
Open
#437 opened on May 17, 2021
Good First IssueHacktoberfestHelp WantedUp for grabs
Description
Add integration tests for missing File API endpoints
files := r.PathPrefix("/files").Subrouter()
files.HandleFunc("/workspaces/{workspaceID}/{rootID}/{filename}", a.attachSession(a.handleServeFile, false)).Methods("GET")
These are currently in the ./src/octoClient.ts class, so test should go in ./src/octoClient.test.ts
see ./integrationtests/blocks_test.go and sharing_test.go for samples.