(id int64, login string)
| 59 | } |
| 60 | |
| 61 | func 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 | |
| 69 | func TestUserGitHubClient_GetCurrentUser(t *testing.T) { |
| 70 | type mockGetCurrentUserConfig struct { |
no outgoing calls
no test coverage detected