@@ -1309,7 +1309,8 @@ describe('AuthorizeHandler integration', function() {
1309
1309
getClient : function ( ) { } ,
1310
1310
saveAuthorizationCode : function ( ) { }
1311
1311
} ;
1312
- const handler = new AuthorizeHandler ( { authorizationCodeLifetime : 120 , model : model } ) ; const request = new Request ( { body : { code_challenge_method : 'S256' } , headers : { } , method : { } , query : { } } ) ;
1312
+ const handler = new AuthorizeHandler ( { authorizationCodeLifetime : 120 , model : model } ) ;
1313
+ const request = new Request ( { body : { code_challenge_method : 'S256' } , headers : { } , method : { } , query : { } } ) ;
1313
1314
1314
1315
const codeChallengeMethod = handler . getCodeChallengeMethod ( request ) ;
1315
1316
codeChallengeMethod . should . equal ( 'S256' ) ;
@@ -1321,7 +1322,8 @@ describe('AuthorizeHandler integration', function() {
1321
1322
getClient : function ( ) { } ,
1322
1323
saveAuthorizationCode : function ( ) { }
1323
1324
} ;
1324
- const handler = new AuthorizeHandler ( { authorizationCodeLifetime : 120 , model : model } ) ; const request = new Request ( { body : { } , headers : { } , method : { } , query : { } } ) ;
1325
+ const handler = new AuthorizeHandler ( { authorizationCodeLifetime : 120 , model : model } ) ;
1326
+ const request = new Request ( { body : { } , headers : { } , method : { } , query : { } } ) ;
1325
1327
1326
1328
const codeChallengeMethod = handler . getCodeChallengeMethod ( request ) ;
1327
1329
codeChallengeMethod . should . equal ( 'plain' ) ;
@@ -1335,7 +1337,8 @@ describe('AuthorizeHandler integration', function() {
1335
1337
getClient : function ( ) { } ,
1336
1338
saveAuthorizationCode : function ( ) { }
1337
1339
} ;
1338
- const handler = new AuthorizeHandler ( { authorizationCodeLifetime : 120 , model : model } ) ; const request = new Request ( { body : { code_challenge : 'challenge' } , headers : { } , method : { } , query : { } } ) ;
1340
+ const handler = new AuthorizeHandler ( { authorizationCodeLifetime : 120 , model : model } ) ;
1341
+ const request = new Request ( { body : { code_challenge : 'challenge' } , headers : { } , method : { } , query : { } } ) ;
1339
1342
1340
1343
const codeChallengeMethod = handler . getCodeChallenge ( request ) ;
1341
1344
codeChallengeMethod . should . equal ( 'challenge' ) ;
0 commit comments