Skip to content

Commit

Permalink
fixup myCrypto
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 12, 2024
1 parent 2639bf6 commit 8bb9b0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/api/multipartUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ describe('Multipart Upload API', () => {
assert.ifError(err);
const testUploadId =
json.InitiateMultipartUploadResult.UploadId[0];
const md5Hash = crypto.createHash('md5').update(partBody);
const md5Hash = myCrypto.createHash('md5').update(partBody);
const calculatedHash = md5Hash.digest('hex');
const partRequest = new DummyRequest({
bucketName,
Expand Down Expand Up @@ -2012,7 +2012,7 @@ describe('Multipart Upload API', () => {
assert.ifError(err);
const testUploadId =
json.InitiateMultipartUploadResult.UploadId[0];
const md5Hash = crypto.createHash('md5').update(partBody);
const md5Hash = myCrypto.createHash('md5').update(partBody);
const calculatedHash = md5Hash.digest('hex');
const partRequest = new DummyRequest({
bucketName,
Expand Down Expand Up @@ -2319,7 +2319,7 @@ describe('complete mpu with versioning', () => {
assert.ifError(err);
const testUploadId =
json.InitiateMultipartUploadResult.UploadId[0];
const md5Hash = crypto.createHash('md5').update(partBody);
const md5Hash = myCrypto.createHash('md5').update(partBody);
const calculatedHash = md5Hash.digest('hex');
const partRequest = new DummyRequest({
bucketName,
Expand Down

0 comments on commit 8bb9b0a

Please sign in to comment.