Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
turboboy88 committed Apr 27, 2018
1 parent 0b07e3e commit d5459f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/mongodb/Tests/Spec/CreateMongodbContextTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ protected function createMongodbContext()
if (false == $env = getenv('MONGO_DSN')) {
$this->markTestSkipped('The MONGO_DSN env is not available. Skip tests');
}
$params = ['uri' => $env];
$factory = new MongodbConnectionFactory($params);

$factory = new MongodbConnectionFactory(['uri' => $env]);

$context = $factory->createContext();

Expand Down

0 comments on commit d5459f5

Please sign in to comment.