@@ -1309,7 +1309,8 @@ describe('AuthorizeHandler integration', function() {
13091309 getClient : function ( ) { } ,
13101310 saveAuthorizationCode : function ( ) { }
13111311 } ;
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 : { } } ) ;
13131314
13141315 const codeChallengeMethod = handler . getCodeChallengeMethod ( request ) ;
13151316 codeChallengeMethod . should . equal ( 'S256' ) ;
@@ -1321,7 +1322,8 @@ describe('AuthorizeHandler integration', function() {
13211322 getClient : function ( ) { } ,
13221323 saveAuthorizationCode : function ( ) { }
13231324 } ;
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 : { } } ) ;
13251327
13261328 const codeChallengeMethod = handler . getCodeChallengeMethod ( request ) ;
13271329 codeChallengeMethod . should . equal ( 'plain' ) ;
@@ -1335,7 +1337,8 @@ describe('AuthorizeHandler integration', function() {
13351337 getClient : function ( ) { } ,
13361338 saveAuthorizationCode : function ( ) { }
13371339 } ;
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 : { } } ) ;
13391342
13401343 const codeChallengeMethod = handler . getCodeChallenge ( request ) ;
13411344 codeChallengeMethod . should . equal ( 'challenge' ) ;
0 commit comments