Skip to content

Commit 9e163e8

Browse files
committed
CSHARP-2128: Resync CRUD tests to update insertMany test format to a map
1 parent 636e485 commit 9e163e8

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

tests/MongoDB.Driver.Tests/Specifications/crud/tests/write/insertMany.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
},
2626
"outcome": {
2727
"result": {
28-
"insertedIds": [
29-
2,
30-
3
31-
]
28+
"insertedIds": {
29+
"0": 2,
30+
"1": 3
31+
}
3232
},
3333
"collection": {
3434
"data": [

tests/MongoDB.Driver.Tests/Specifications/crud/tests/write/insertMany.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ tests:
77
operation:
88
name: "insertMany"
99
arguments:
10-
documents:
10+
documents:
1111
- {_id: 2, x: 22}
1212
- {_id: 3, x: 33}
1313

1414
outcome:
1515
result:
16-
insertedIds:
17-
- 2
18-
- 3
16+
insertedIds: {0: 2, 1: 3}
1917
collection:
2018
data:
2119
- {_id: 1, x: 11}

0 commit comments

Comments
 (0)