Pārlūkot izejas kodu

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 9 gadi atpakaļ
vecāks
revīzija
220229c18c

+ 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
         );