From 460db941799c09daa7ca66a582decc68aaae4f22 Mon Sep 17 00:00:00 2001 From: Andreas Weber Date: Mon, 19 Aug 2024 20:39:13 +0200 Subject: [PATCH] fix: test without signature --- src/plugins/http/awsAuthVariableReplacer.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/http/awsAuthVariableReplacer.spec.ts b/src/plugins/http/awsAuthVariableReplacer.spec.ts index eb78857d..e36ec0c1 100644 --- a/src/plugins/http/awsAuthVariableReplacer.spec.ts +++ b/src/plugins/http/awsAuthVariableReplacer.spec.ts @@ -17,7 +17,7 @@ describe('awsAuthVariableReplacer', () => { } as models.ProcessorContext ); expect(result).toContain( - 'AWS4-HMAC-SHA256 Credential=doe/20240817/eu-central-1/cognito-idp/aws4_request, SignedHeaders=host;x-amz-date;x-amz-security-token, Signature=' + 'AWS4-HMAC-SHA256 Credential=doe/20240817/eu-central-1/cognito-idp/aws4_request, SignedHeaders=host;x-amz-date;x-amz-security-token' ); expect(Object.keys(request.headers)).toEqual(['Host', 'X-Amz-Security-Token', 'X-Amz-Date', 'Authorization']); });