Skip to content

Commit 968637e

Browse files
committed
fix: master key
1 parent 17bb7bf commit 968637e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/client-side-encryption/client_side_encryption.prose.25.custom_aws_credential_providers.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ const metadata: MongoDBMetadataUI = {
1212

1313
const masterKey = {
1414
region: 'us-east-1',
15-
key: 'arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0',
16-
endpoint: '127.0.0.1:9002'
15+
key: 'arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0'
1716
};
1817

1918
const isMongoDBAWSAuthEnvironment = (process.env.MONGODB_URI ?? '').includes('MONGODB-AWS');
@@ -104,7 +103,8 @@ describe('25. Custom AWS Credential Providers', metadata, () => {
104103
});
105104

106105
it('is successful', async function () {
107-
await client.db('aws').collection('aws_test').estimatedDocumentCount();
106+
const result = await client.db('test').collection('test').insertOne({ n: 1 });
107+
expect(result.ok).to.equal(1);
108108
});
109109
});
110110
});

0 commit comments

Comments
 (0)