File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ function buildAuthorizerCliArgs(): { args: string[]; clientId: string } {
3030 const clientId = randomUUID ( ) ;
3131 const clientSecret = randomUUID ( ) ;
3232 const jwtSecret = randomUUID ( ) ;
33- const customAccessTokenScript = 'function(user,tokenPayload){var data = tokenPayload;data.extra = {\'x-extra-id\': user.id};return data;}' ;
33+ const customAccessTokenScript =
34+ "function(user,tokenPayload){var data = tokenPayload;data.extra = {'x-extra-id': user.id};return data;}" ;
3435
3536 const args = [
3637 '--client-id' ,
@@ -83,7 +84,7 @@ describe('Integration Tests - authorizer-js', () => {
8384 beforeAll ( async ( ) => {
8485 const { args, clientId } = buildAuthorizerCliArgs ( ) ;
8586
86- container = await new GenericContainer ( 'lakhansamani/authorizer:latest ' )
87+ container = await new GenericContainer ( 'lakhansamani/authorizer:2.0.0-rc.6 ' )
8788 . withCommand ( args )
8889 . withExposedPorts ( 8080 )
8990 . withWaitStrategy ( Wait . forHttp ( '/health' , 8080 ) . forStatusCode ( 200 ) )
You can’t perform that action at this time.
0 commit comments