Skip to content

Commit d5459f5

Browse files
committed
fix
1 parent 0b07e3e commit d5459f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/mongodb/Tests/Spec/CreateMongodbContextTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ protected function createMongodbContext()
1111
if (false == $env = getenv('MONGO_DSN')) {
1212
$this->markTestSkipped('The MONGO_DSN env is not available. Skip tests');
1313
}
14-
$params = ['uri' => $env];
15-
$factory = new MongodbConnectionFactory($params);
14+
15+
$factory = new MongodbConnectionFactory(['uri' => $env]);
1616

1717
$context = $factory->createContext();
1818

0 commit comments

Comments
 (0)