File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/Collection/CrudSpec Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function testAggregateWithMultipleStages()
37
37
);
38
38
39
39
// Use iterator_to_array() here since aggregate() may return an ArrayIterator
40
- $ this ->assertSame ($ expected , iterator_to_array ($ cursor ));
40
+ $ this ->assertEquals ($ expected , iterator_to_array ($ cursor ));
41
41
}
42
42
43
43
public function testAggregateWithOut ()
@@ -64,7 +64,7 @@ public function testAggregateWithOut()
64
64
array ('_id ' => 3 , 'x ' => 33 ),
65
65
);
66
66
67
- $ this ->assertSame ($ expected , $ outputCollection ->find ()->toArray ());
67
+ $ this ->assertEquals ($ expected , $ outputCollection ->find ()->toArray ());
68
68
69
69
// Manually clean up our output collection
70
70
$ this ->dropCollectionIfItExists ($ outputCollection );
You can’t perform that action at this time.
0 commit comments