瀏覽代碼

Fix wrong server URL in tests

Andreas Braun 8 年之前
父節點
當前提交
8359e21397
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Alcaeus/MongoDbAdapter/Mongo/MongoCollectionTest.php

+ 1 - 1
tests/Alcaeus/MongoDbAdapter/Mongo/MongoCollectionTest.php

@@ -665,7 +665,7 @@ class MongoCollectionTest extends TestCase
     {
     {
         $this->expectException(\MongoConnectionException::class);
         $this->expectException(\MongoConnectionException::class);
 
 
-        $client = $this->getClient([], 'mongodb://localhost:28888?connectTimeoutMS=1');
+        $client = $this->getClient([], 'mongodb://localhost:28888/?connectTimeoutMS=1');
         $collection = $client->selectCollection('mongo-php-adapter', 'test');
         $collection = $client->selectCollection('mongo-php-adapter', 'test');
 
 
         $collection->findOne();
         $collection->findOne();