Explorar o código

Fix wrong server URL in tests

Andreas Braun %!s(int64=8) %!d(string=hai) anos
pai
achega
8359e21397

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