Browse Source

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

Rob Williams 8 years ago
parent
commit
942208e793
1 changed files with 0 additions and 3 deletions
  1. 0 3
      tests/Alcaeus/MongoDbAdapter/Mongo/MongoCursorTest.php

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

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