@@ -4,8 +4,8 @@ import {GetAuthorizationHeader} from '../../src/client/clientConfig';
44import { createHmac } from 'crypto' ;
55import OAuth from 'oauth-1.0a' ;
66
7- const successLambdaUUID =
8- process . env [ 'SUCCESS_LAMBDA_UUID_V1 ' ] || 'does-not-exist' ;
7+ const lambdaUUID =
8+ process . env [ 'LAMBDA_UUID_V1 ' ] || 'does-not-exist' ;
99const accountId = process . env [ 'ACCOUNT_ID_V1' ] || 'does-not-exist' ;
1010const clientId = process . env [ 'CLIENT_ID_V1' ] || 'does-not-exist' ;
1111const clientSecret = process . env [ 'CLIENT_SECRET_V1' ] || 'does-not-exist' ;
@@ -32,7 +32,7 @@ describe('Invoke by UUID', () => {
3232 } ;
3333
3434 const response = await client . invoke ( {
35- lambdaUuid : successLambdaUUID ,
35+ lambdaUuid : lambdaUUID ,
3636 externalSystem : 'integration-tests' ,
3737 body : {
3838 headers : [ ] ,
@@ -44,7 +44,7 @@ describe('Invoke by UUID', () => {
4444 } ) ;
4545
4646 // Skipped, Oauth1 will be deprecated
47- /* it.skip('should invoke and get result via custom Oauth1 implementation', async () => {
47+ it . skip ( 'should invoke and get result via custom Oauth1 implementation' , async ( ) => {
4848 // custom auth implementation start
4949 const getAuthorizationHeader : GetAuthorizationHeader = async ( {
5050 url,
@@ -82,7 +82,7 @@ describe('Invoke by UUID', () => {
8282 } ;
8383
8484 const response = await client . invoke ( {
85- lambdaUuid: successLambdaUUID ,
85+ lambdaUuid : lambdaUUID ,
8686 externalSystem : 'integration-tests' ,
8787 body : {
8888 headers : [ ] ,
@@ -92,7 +92,7 @@ describe('Invoke by UUID', () => {
9292 } ) ;
9393
9494 expect ( response . ok ) . toEqual ( true ) ;
95- });*/
95+ } ) ;
9696
9797 it ( 'should fail if lambda does not exist' , async ( ) => {
9898 const nonExistingLambda = 'c521cadf-d444-4519-ad11-1c1111114415' ;
0 commit comments