瀏覽代碼

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 年之前
父節點
當前提交
220229c18c
共有 1 個文件被更改,包括 0 次插入2 次删除
  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
         );