Skip to content

Commit f5a6f64

Browse files
committed
PHPLIB-612: Expect success for operations without expectError and expectResult
Synced with mongodb/specifications@8a39d22
1 parent 99f11bb commit f5a6f64

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"description": "operation-failure",
3+
"schemaVersion": "1.0",
4+
"createEntities": [
5+
{
6+
"client": {
7+
"id": "client0"
8+
}
9+
},
10+
{
11+
"database": {
12+
"id": "database0",
13+
"client": "client0",
14+
"databaseName": "operation-failure"
15+
}
16+
},
17+
{
18+
"collection": {
19+
"id": "collection0",
20+
"database": "database0",
21+
"collectionName": "coll0"
22+
}
23+
}
24+
],
25+
"tests": [
26+
{
27+
"description": "Unsupported command",
28+
"operations": [
29+
{
30+
"name": "runCommand",
31+
"object": "database0",
32+
"arguments": {
33+
"commandName": "unsupportedCommand",
34+
"command": {
35+
"unsupportedCommand": 1
36+
}
37+
}
38+
}
39+
]
40+
},
41+
{
42+
"description": "Unsupported query operator",
43+
"operations": [
44+
{
45+
"name": "find",
46+
"object": "collection0",
47+
"arguments": {
48+
"filter": {
49+
"$unsupportedQueryOperator": 1
50+
}
51+
}
52+
}
53+
]
54+
}
55+
]
56+
}

0 commit comments

Comments
 (0)