Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
220229c18c
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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
         );