Skip to content

Commit 7304022

Browse files
committed
test: fix
1 parent 307b3f8 commit 7304022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/auth/mongodb_aws.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ describe('MONGODB-AWS', function () {
406406
numberOfFromNodeProviderChainCalls = 0;
407407

408408
// @ts-expect-error We intentionally access a protected variable.
409-
AWSTemporaryCredentialProvider._awsSDK = {
409+
AWSSDKCredentialProvider._awsSDK = {
410410
fromNodeProviderChain(...args) {
411411
calledArguments = args;
412412
numberOfFromNodeProviderChainCalls += 1;
@@ -428,7 +428,7 @@ describe('MONGODB-AWS', function () {
428428
process.env.AWS_REGION = storedEnv.AWS_REGION;
429429
}
430430
// @ts-expect-error We intentionally access a protected variable.
431-
AWSTemporaryCredentialProvider._awsSDK = credentialProvider;
431+
AWSSDKCredentialProvider._awsSDK = credentialProvider;
432432
calledArguments = [];
433433
});
434434

0 commit comments

Comments
 (0)