Skip to content

Commit 59f3e26

Browse files
committed
update aws4 test
1 parent 31f49e7 commit 59f3e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/aws4.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('Verify AWS4 signature generation', () => {
5858
expect(headers['X-Amz-Date']).to.equal('20251215T123456Z');
5959
expect(headers['Authorization']).to.exist;
6060
expect(headers['Authorization']).to.equal(
61-
'AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20251215/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-mongodb-gs2-cb-flag;x-mongodb-server-nonce, Signature=bbcb06e2feb8651dced329789743ba283f92ef1302d34a7398cb1d35808a1a66'
61+
'AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20251215/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-mongodb-gs2-cb-flag;x-mongodb-server-nonce, Signature=7bfe0c6c8c0aa9f853eb10c5822ab42446ad87789e5b6e47a6fbd7a9bffc834a'
6262
);
6363

6464
// Uncomment the following lines if you want to compare with the old aws4 library.

0 commit comments

Comments
 (0)