...
1{
2 "description": "ignoreResultAndError",
3 "schemaVersion": "1.3",
4 "createEntities": [
5 {
6 "client": {
7 "id": "client0",
8 "useMultipleMongoses": true
9 }
10 },
11 {
12 "database": {
13 "id": "database0",
14 "client": "client0",
15 "databaseName": "database0Name"
16 }
17 },
18 {
19 "collection": {
20 "id": "collection0",
21 "database": "database0",
22 "collectionName": "coll0"
23 }
24 }
25 ],
26 "initialData": [
27 {
28 "collectionName": "coll0",
29 "databaseName": "database0Name",
30 "documents": []
31 }
32 ],
33 "tests": [
34 {
35 "description": "operation errors are ignored if ignoreResultAndError is true",
36 "operations": [
37 {
38 "name": "insertOne",
39 "object": "collection0",
40 "arguments": {
41 "document": {
42 "_id": 1
43 }
44 }
45 },
46 {
47 "name": "insertOne",
48 "object": "collection0",
49 "arguments": {
50 "document": {
51 "_id": 1
52 }
53 },
54 "ignoreResultAndError": true
55 }
56 ]
57 }
58 ]
59}
View as plain text