Skip to content

Commit 30c8b42

Browse files
Fix test
1 parent d88bdbc commit 30c8b42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/Store/RedisProxyStoreFactoryTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class RedisProxyStoreFactoryTest extends TestCase
2323
{
2424
public function testCreateStore()
2525
{
26+
if (!class_exists(RedisProxy::class)) {
27+
$this->markTestSkipped();
28+
}
29+
2630
$store = StoreFactory::createStore($this->createMock(RedisProxy::class));
2731

2832
$this->assertInstanceOf(RedisStore::class, $store);

0 commit comments

Comments
 (0)