Skip to content

Commit 85d0a79

Browse files
authored
Merge pull request #243 from jorenvandeweyer/bugfix/invalid-bearer
remove invalid bearer token that was used in test
2 parents ed1f8a3 + 6d7a990 commit 85d0a79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/handlers/authorize-handler_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -635,9 +635,9 @@ describe('AuthorizeHandler integration', function() {
635635
grants: ['authorization_code'],
636636
redirectUris: ['http://example.com/cb']
637637
};
638-
const authorizationCode = 'long-authz-code-?';
638+
const authorizationCode = 'long-authz-code';
639639
const accessTokenDoc = {
640-
accessToken: 'some-access-token-code-?',
640+
accessToken: 'some-access-token-code',
641641
client,
642642
user,
643643
scope,
@@ -703,7 +703,7 @@ describe('AuthorizeHandler integration', function() {
703703
response
704704
.get('location')
705705
.should
706-
.equal('http://example.com/cb?code=long-authz-code-%3F&state=fooobarstatebaz');
706+
.equal('http://example.com/cb?code=long-authz-code&state=fooobarstatebaz');
707707
});
708708

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

0 commit comments

Comments
 (0)