Skip to content

Commit

Permalink
fix(test): fix the revoke token test (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Jan 6, 2019
1 parent 4115c0f commit 3b612fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.auth.ts
Expand Up @@ -236,7 +236,7 @@ describe('OAuth2 client', () => {
describe('revokeCredentials()', () => {
it('should revoke credentials if access token present', async () => {
const scope = nock('https://oauth2.googleapis.com')
.get('/revoke?token=abc')
.post('/revoke?token=abc')
.reply(200, {success: true});
const oauth2client =
new googleapis.auth.OAuth2(CLIENT_ID, CLIENT_SECRET, REDIRECT_URI);
Expand Down

0 comments on commit 3b612fc

Please sign in to comment.