Commit a1d9c7b
committed
Rename and fix Bulk::update() arrayFilters test
Query should not be passed as the first argument to Bulk::update(). As-is, the Query object was encoded as an empty BSON document and caused the update operation to match three documents instead of two. This happened to have no effect on the test result because arrayFilters ensured that only grades >= 100 were matched.1 parent 6db4790 commit a1d9c7b
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments