We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b07e3e commit d5459f5Copy full SHA for d5459f5
pkg/mongodb/Tests/Spec/CreateMongodbContextTrait.php
@@ -11,8 +11,8 @@ protected function createMongodbContext()
11
if (false == $env = getenv('MONGO_DSN')) {
12
$this->markTestSkipped('The MONGO_DSN env is not available. Skip tests');
13
}
14
- $params = ['uri' => $env];
15
- $factory = new MongodbConnectionFactory($params);
+
+ $factory = new MongodbConnectionFactory(['uri' => $env]);
16
17
$context = $factory->createContext();
18
0 commit comments