()
| 539 | } |
| 540 | |
| 541 | func defaultConfig() *ghmock.ConfigMock { |
| 542 | cfg := config.NewMockConfigFromString("") |
| 543 | cfg.Set("nonsense.com", "oauth_token", "BLAH") |
| 544 | return cfg |
| 545 | } |
| 546 | |
| 547 | // recordingAuthConfig is a gh.AuthConfig that records SetTokenRefresher calls. It embeds the interface so it satisfies |
| 548 | // gh.AuthConfig without implementing every method; only SetTokenRefresher is exercised by these tests. |
no test coverage detected