Skip to content

Commit

Permalink
test(NODE-4343): fix remaining spec tests (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran authored Jul 6, 2022
1 parent ed0f689 commit c82613b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bindings/node/test/clientEncryption.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,8 @@ describe('ClientEncryption', function () {
const coll = encryptedClient.db('db').collection('explicit_encryption');
const insertPayload = await clientEncryption.encrypt('encrypted indexed value', {
keyId: KEY1_ID,
algorithm: 'Indexed'
algorithm: 'Indexed',
contentionFactor: 0
});
await coll.insertOne({
encryptedIndexed: insertPayload
Expand All @@ -696,7 +697,8 @@ describe('ClientEncryption', function () {
const findPayload = await clientEncryption.encrypt('encrypted indexed value', {
keyId: KEY1_ID,
algorithm: 'Indexed',
queryType: 'equality'
queryType: 'equality',
contentionFactor: 0
});
const findResult = await coll
.find({
Expand Down

0 comments on commit c82613b

Please sign in to comment.