(nextPage int)
| 50 | var errTestAPI = errors.New("api error") |
| 51 | |
| 52 | func 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 | |
| 61 | func createTestGitHubUser(id int64, login string) *github.User { |
| 62 | // nolint:exhaustruct |
no outgoing calls
no test coverage detected