(t *testing.T)
| 275 | } |
| 276 | |
| 277 | func TestAuthenticateNoTokenInitially(t *testing.T) { |
| 278 | f := newFakeGitHub(t) |
| 279 | m := newManager(t, f) |
| 280 | assert.False(t, m.HasToken()) |
| 281 | assert.Empty(t, m.AccessToken()) |
| 282 | } |
| 283 | |
| 284 | func TestAuthenticateSingleFlight(t *testing.T) { |
| 285 | f := newFakeGitHub(t) |
nothing calls this directly
no test coverage detected