Rename googleAuth variable in GitlabAuth tests to gitlabAuth (#2666)

This commit is contained in:
James Wen
2020-09-30 02:55:05 -04:00
committed by GitHub
parent f1a7b19c0c
commit 225744754f
@@ -39,12 +39,12 @@ describe('GitlabAuth', () => {
],
['read_repository sudo', ['read_repository', 'sudo']],
])(`should normalize scopes correctly - %p`, (scope, scopes) => {
const googleAuth = GitlabAuth.create({
const gitlabAuth = GitlabAuth.create({
oauthRequestApi: new MockOAuthApi(),
discoveryApi: UrlPatternDiscovery.compile('http://example.com'),
});
googleAuth.getAccessToken(scope);
gitlabAuth.getAccessToken(scope);
expect(getSession).toHaveBeenCalledWith({ scopes: new Set(scopes) });
});
});