8000 FIx Trying to clone an uncloneable object of class · symfony/symfony@f67dab9 · GitHub
[go: up one dir, main page]

Skip to content

Commit f67dab9

Browse files
committed
FIx Trying to clone an uncloneable object of class
1 parent 602b520 commit f67dab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testCreateStore($connection, string $expectedStoreClass)
4040
public function validConnections()
4141
{
4242
if (class_exists(\Redis::class)) {
43-
yield [$this->createMock(\Redis::class), RedisStore::class];
43+
yield [new \Redis(), RedisStore::class];
4444
}
4545
if (class_exists(RedisProxy::class)) {
4646
yield [$this->createMock(RedisProxy::class), RedisStore::class];

0 commit comments

Comments
 (0)
0