mattermost-community/focalboard

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

Open

#437 创建于 2021年5月17日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)TypeScript (26,187 star) (2,542 fork)user submission
Good First IssueHacktoberfestHelp WantedUp for grabs

描述

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.

贡献者指南