Skip to content

Commit

Permalink
#37180 fixed testDatabaseDsnPrecedence
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bennett committed Jun 15, 2020
1 parent e8c54dd commit e06956a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function testDatabaseDsnPrecedence()
{
$client = self::getMongoClient();

$store = new MongoDbStore('mongodb://localhost/test_dsn', ['database' => 'test_option']);
$store = new MongoDbStore('mongodb://localhost/test_dsn?collection=lock', ['database' => 'test_option']);
$storeReflection = new \ReflectionObject($store);
$optionsProperty = $storeReflection->getProperty('options');
$optionsProperty->setAccessible(true);
Expand Down

0 comments on commit e06956a

Please sign in to comment.