Skip to content

Commit

Permalink
Merge pull request #243 from jorenvandeweyer/bugfix/invalid-bearer
Browse files Browse the repository at this point in the history
remove invalid bearer token that was used in test
  • Loading branch information
jankapunkt authored Sep 28, 2023
2 parents ed1f8a3 + 6d7a990 commit 85d0a79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/handlers/authorize-handler_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,9 +635,9 @@ describe('AuthorizeHandler integration', function() {
grants: ['authorization_code'],
redirectUris: ['http://example.com/cb']
};
const authorizationCode = 'long-authz-code-?';
const authorizationCode = 'long-authz-code';
const accessTokenDoc = {
accessToken: 'some-access-token-code-?',
accessToken: 'some-access-token-code',
client,
user,
scope,
Expand Down Expand Up @@ -703,7 +703,7 @@ describe('AuthorizeHandler integration', function() {
response
.get('location')
.should
.equal('http://example.com/cb?code=long-authz-code-%3F&state=fooobarstatebaz');
.equal('http://example.com/cb?code=long-authz-code&state=fooobarstatebaz');
});

it('should support a custom `authenticateHandler`', async function () {
Expand Down

0 comments on commit 85d0a79

Please sign in to comment.