Quellcode durchsuchen

Fix tests on newer MongoDB versions

Apparently, the output of `validate` changed somewhere down the line, so we just skip a couple of checks.
Andreas Braun vor 9 Jahren
Ursprung
Commit
220229c18c
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0 2
      tests/Alcaeus/MongoDbAdapter/Mongo/MongoCollectionTest.php

+ 0 - 2
tests/Alcaeus/MongoDbAdapter/Mongo/MongoCollectionTest.php

@@ -1559,8 +1559,6 @@ class MongoCollectionTest extends TestCase
                 'keysPerIndex' => ['mongo-php-adapter.test.$_id_' => 1],
                 'valid' => true,
                 'errors' => [],
-                'warning' => 'Some checks omitted for speed. use {full:true} option to do more thorough scan.',
-                'ok'  => 1.0
             ],
             $result
         );