File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ function buildAuthorizerCliArgs(): { args: string[]; clientId: string } {
2828 const clientId = randomUUID ( ) ;
2929 const clientSecret = randomUUID ( ) ;
3030 const jwtSecret = randomUUID ( ) ;
31- const customAccessTokenScript =
32- 'function(user,tokenPayload){var data = tokenPayload;data.extra = {\'x-extra-id\': user.id};return data;}' ;
31+ const customAccessTokenScript = `function(user,tokenPayload){var data = tokenPayload;data.extra = {'x-extra-id': user.id};return data;}` ;
3332
3433 const args = [
3534 '--client-id' ,
@@ -89,6 +88,7 @@ describe('Integration Tests - authorizer-js', () => {
8988 . withCommand ( args )
9089 . withExposedPorts ( 8080 )
9190 . withWaitStrategy ( Wait . forHttp ( '/health' , 8080 ) . forStatusCode ( 200 ) )
91+ . withStartupTimeout ( 6000000 ) // 10 minutes
9292 . start ( ) ;
9393
9494 authorizerConfig . authorizerURL = `http://${ container . getHost ( ) } :${ container . getMappedPort (
You can’t perform that action at this time.
0 commit comments