mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.9k stars 1.97k forks source link

API Integration Tests - ./api/api.go (Files API) #437

Open sbishel opened 3 years ago

sbishel commented 3 years ago

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.

fish-dango commented 3 years ago

I can take a try here!

sourabhkumar45 commented 1 year ago

Hi, new to this repository, I was looking for some good first issues, is this still available?