MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / createTestGithubResponse

Function createTestGithubResponse

lib/gh/get_current_user_test.go:52–59  ·  view source on GitHub ↗
(nextPage int)

Source from the content-addressed store, hash-verified

50var errTestAPI = errors.New("api error")
51
52func createTestGithubResponse(nextPage int) *github.Response {
53 // nolint:exhaustruct
54 return &github.Response{
55 // nolint:exhaustruct
56 Response: &http.Response{StatusCode: http.StatusOK},
57 NextPage: nextPage,
58 }
59}
60
61func createTestGitHubUser(id int64, login string) *github.User {
62 // nolint:exhaustruct

Callers 3

TestPaginatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected