Skip to content

Commit 0b72911

Browse files
committed
pass string to UUID constructor, so it doesn't throw on a bundled type
1 parent 6193546 commit 0b72911

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/client-side-encryption/driver.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,14 +725,14 @@ describe('CSOT', function () {
725725
'test.test': {
726726
bsonType: 'object',
727727
encryptMetadata: {
728-
keyId: [new UUID(dataKey)]
728+
keyId: [new UUID(dataKey.toHexString(true))]
729729
},
730730
properties: {
731731
a: {
732732
encrypt: {
733733
bsonType: 'int',
734734
algorithm: 'AEAD_AES_256_CBC_HMAC_SHA_512-Random',
735-
keyId: [new UUID(dataKey)]
735+
keyId: [new UUID(dataKey.toHexString(true))]
736736
}
737737
}
738738
}

0 commit comments

Comments
 (0)