mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 15:50:52 +00:00
GitHubClient uses CredentialProvider, instead of encodedAuthorization (string)
This commit is contained in:
@@ -101,7 +101,7 @@ public class GitHubConnectionTest extends AbstractGitHubWireMockTest {
|
||||
// test authorization header is set as in the RFC6749
|
||||
GitHub github = builder.build();
|
||||
// change this to get a request
|
||||
assertEquals("token bogus", github.getClient().encodedAuthorization);
|
||||
assertEquals("token bogus", github.getClient().credentialProvider.getEncodedAuthorization());
|
||||
assertEquals("", github.getClient().login);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user