Skip to content

Commit

Permalink
fix: test without signature
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWeber committed Aug 19, 2024
1 parent 42e3fcd commit 460db94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/http/awsAuthVariableReplacer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
});
Expand Down

0 comments on commit 460db94

Please sign in to comment.