8000 #37180 fixed construction providers · kralos/symfony@d85d4e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit d85d4e8

Browse files
author
Joe Bennett
committed
symfony#37180 fixed construction providers
1 parent b617f3c commit d85d4e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Lock/Tests/Store/MongoDbStoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function provideConstructorArgs()
116116
yield [$client, ['database' => 'test', 'collection' => 'lock']];
117117

118118
$collection = $client->selectCollection('test', 'lock');
119-
yield [$collection];
119+
yield [$collection, []];
120120

121121
yield ['mongodb://localhost/', ['database' => 'test', 'collection' => 'lock']];
122122
yield ['mongodb://localhost/authDb', ['database' => 'test', 'collection' => 'lock']];
@@ -166,7 +166,7 @@ public function testInvalidConstructionMethods($mongo, array $options)
166166
public function provideInvalidConstructorArgs()
167167
{
168168
$client = self::getMongoClient();
169-
yield [$client];
169+
yield [$client, []];
170170
yield [$client, ['database' => 'test']];
171171
yield [$client, ['collection' => 'lock']];
172172

0 commit comments

Comments
 (0)
0