Skip to content

Commit 1830a84

Browse files
author
Cloud User
committed
resyncing specs 11-03-2025
1 parent f278e47 commit 1830a84

File tree

5 files changed

+825
-3
lines changed

5 files changed

+825
-3
lines changed

test/auth/legacy/connection-string.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,21 @@
440440
}
441441
}
442442
},
443+
{
444+
"description": "should throw an exception if username provided (MONGODB-AWS)",
445+
"uri": "mongodb://user@localhost.com/?authMechanism=MONGODB-AWS",
446+
"valid": false
447+
},
448+
{
449+
"description": "should throw an exception if username and password provided (MONGODB-AWS)",
450+
"uri": "mongodb://user:pass@localhost.com/?authMechanism=MONGODB-AWS",
451+
"valid": false
452+
},
453+
{
454+
"description": "should throw an exception if AWS_SESSION_TOKEN provided (MONGODB-AWS)",
455+
"uri": "mongodb://localhost/?authMechanism=MONGODB-AWS&authMechanismProperties=AWS_SESSION_TOKEN:token",
456+
"valid": false
457+
},
443458
{
444459
"description": "should recognise the mechanism with test environment (MONGODB-OIDC)",
445460
"uri": "mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:test",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"bsonType": "object"
3+
}

test/client-side-encryption/spec/unified/fle2v2-CreateCollection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@
554554
},
555555
{
556556
"name": "assertIndexNotExists",
557-
"object": "db",
557+
"object": "testRunner",
558558
"arguments": {
559559
"databaseName": "default",
560560
"collectionName": "encryptedCollection",

test/client-side-encryption/spec/unified/fle2v2-validatorAndPartialFieldExpression.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
},
109109
{
110110
"name": "assertCollectionExists",
111-
"object": "coll",
111+
"object": "testRunner",
112112
"arguments": {
113113
"databaseName": "default",
114114
"collectionName": "encryptedCollection"
@@ -248,7 +248,7 @@
248248
},
249249
{
250250
"name": "assertIndexExists",
251-
"object": "coll",
251+
"object": "testRunner",
252252
"arguments": {
253253
"databaseName": "default",
254254
"collectionName": "encryptedCollection",

0 commit comments

Comments
 (0)