From 225744754f15513bbb48270b0d264877919c1b61 Mon Sep 17 00:00:00 2001 From: James Wen Date: Wed, 30 Sep 2020 02:55:05 -0400 Subject: [PATCH] Rename googleAuth variable in GitlabAuth tests to gitlabAuth (#2666) --- .../src/apis/implementations/auth/gitlab/GitlabAuth.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core-api/src/apis/implementations/auth/gitlab/GitlabAuth.test.ts b/packages/core-api/src/apis/implementations/auth/gitlab/GitlabAuth.test.ts index 44b9aeb14e..6a592c7fbe 100644 --- a/packages/core-api/src/apis/implementations/auth/gitlab/GitlabAuth.test.ts +++ b/packages/core-api/src/apis/implementations/auth/gitlab/GitlabAuth.test.ts @@ -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) }); }); });