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

Function createTestGitHubUser

lib/gh/get_current_user_test.go:61–67  ·  view source on GitHub ↗
(id int64, login string)

Source from the content-addressed store, hash-verified

59}
60
61func createTestGitHubUser(id int64, login string) *github.User {
62 // nolint:exhaustruct
63 return &github.User{
64 ID: new(id),
65 Login: new(login),
66 }
67}
68
69func TestUserGitHubClient_GetCurrentUser(t *testing.T) {
70 type mockGetCurrentUserConfig struct {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected