(t *testing.T, c gh.Config, r gh.TokenRefresher)
| 519 | } |
| 520 | |
| 521 | func setRefresher(t *testing.T, c gh.Config, r gh.TokenRefresher) { |
| 522 | t.Helper() |
| 523 | c.Authentication().(*config.AuthConfig).SetTokenRefresher(r) |
| 524 | } |
| 525 | |
| 526 | // renewingRefresher returns a mock that renews to a fresh, long lived credential and records its calls. |
| 527 | func renewingRefresher(accessToken, refreshToken string) *ghmock.TokenRefresherMock { |
no test coverage detected