Skip to content

Commit

Permalink
Update unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbing0715 committed Oct 14, 2023
1 parent 65421b4 commit 99eaf91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/awssig4_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function _runSignatureV4(r) {
const canonicalRequest = awssig4._buildCanonicalRequest(r,
r.method, req.uri, req.queryParams, req.host, amzDatetime, creds.sessionToken);

var expected = '600721cacc21e3de14416de7517868381831f4709e5c5663bbf2b738e4d5abe4';
var expected = 'cf4dd9e1d28c74e2284f938011efc8230d0c20704f56f67e4a3bfc2212026bec';
var signature = awssig4._buildSignatureV4(r,
amzDatetime, eightDigitDate, creds, region, service, canonicalRequest);

Expand Down

0 comments on commit 99eaf91

Please sign in to comment.