()
| 478 | } |
| 479 | |
| 480 | func defaultConfig() *ghmock.ConfigMock { |
| 481 | cfg := config.NewMockConfigFromString("") |
| 482 | cfg.Set("nonsense.com", "oauth_token", "BLAH") |
| 483 | return cfg |
| 484 | } |
| 485 | |
| 486 | // recordingAuthConfig is a gh.AuthConfig that records SetTokenRefresher calls. It embeds the interface so it satisfies |
| 487 | // gh.AuthConfig without implementing every method; only SetTokenRefresher is exercised by these tests. |
no test coverage detected