Explorar o código

Don't assert against full command response

Andreas Braun %!s(int64=6) %!d(string=hai) anos
pai
achega
a14a8aa808
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Alcaeus/MongoDbAdapter/Mongo/MongoDBTest.php

+ 1 - 1
tests/Alcaeus/MongoDbAdapter/Mongo/MongoDBTest.php

@@ -290,7 +290,7 @@ class MongoDBTest extends TestCase
                         ],
                     ];
                 }
-                $this->assertEquals($expected, $collectionInfo);
+                $this->assertArraySubset($expected, $collectionInfo);
                 return;
             }
         }