File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ echo throws(function() use ($bulk) {
28
28
<?php exit (0 ); ?>
29
29
--EXPECT--
30
30
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
31
- document to insert contains invalid key : empty key
31
+ invalid document for insert: empty key
32
32
33
33
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
34
- document to insert contains invalid key : keys cannot contain ".": "x.y"
34
+ invalid document for insert: keys cannot contain ".": "x.y"
35
35
36
36
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
37
- document to insert contains invalid key : keys cannot begin with "$": "$x"
37
+ invalid document for insert: keys cannot begin with "$": "$x"
38
38
39
39
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
40
- document to insert contains invalid key : corrupt BSON
40
+ invalid document for insert: corrupt BSON
41
41
===DONE===
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ echo throws(function() use ($bulk) {
28
28
<?php exit (0 ); ?>
29
29
--EXPECT--
30
30
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
31
- replacement document contains invalid key : empty key
31
+ invalid argument for replace : empty key
32
32
33
33
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
34
- replacement document contains invalid key : keys cannot contain ".": "x.y"
34
+ invalid argument for replace : keys cannot contain ".": "x.y"
35
35
36
36
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
37
- replacement document contains invalid key : keys cannot begin with "$": "$x"
37
+ invalid argument for replace : keys cannot begin with "$": "$x"
38
38
39
39
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
40
- replacement document contains invalid key : corrupt BSON
40
+ invalid argument for replace : corrupt BSON
41
41
===DONE===
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ echo throws(function() use ($bulk) {
28
28
<?php exit (0 ); ?>
29
29
--EXPECT--
30
30
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
31
- update document contains invalid key : empty key
31
+ invalid argument for update : empty key
32
32
33
33
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
34
- update document contains invalid key : corrupt BSON
34
+ invalid argument for update : corrupt BSON
35
35
36
36
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
37
37
Invalid key 'z': update only works with $ operators
You can’t perform that action at this time.
0 commit comments