Przeglądaj źródła

Don't assert on parsedQuery since it will differ in mongod versions. The important assertion is the nReturned anyway

Rob Williams 8 lat temu
rodzic
commit
942208e793

+ 0 - 3
tests/Alcaeus/MongoDbAdapter/Mongo/MongoCursorTest.php

@@ -478,9 +478,6 @@ class MongoCursorTest extends TestCase
                 'plannerVersion' => 1,
                 'namespace' => 'mongo-php-adapter.test',
                 'indexFilterSet' => false,
-                'parsedQuery' => [
-                    'foo' => new \MongoRegex('/^b/')
-                ],
                 'winningPlan' => [],
                 'rejectedPlans' => [],
             ],