Skip to content

Commit 93be0cb

Browse files
[Cache] Fix tests
1 parent fa38296 commit 93be0cb

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/Symfony/Component/Cache/Tests/Adapter/PredisClusterAdapterTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,4 @@ public static function setUpBeforeClass(): void
2121
parent::setUpBeforeClass();
2222
self::$redis = new \Predis\Client(array_combine(['host', 'port'], explode(':', getenv('REDIS_HOST')) + [1 => 6379]), ['prefix' => 'prefix_']);
2323
}
24-
25-
public static function tearDownAfterClass(): void
26-
{
27-
self::$redis = null;
28-
}
2924
}

src/Symfony/Component/Cache/Tests/Adapter/PredisRedisClusterAdapterTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,4 @@ public static function setUpBeforeClass(): void
2727

2828
self::$redis = RedisAdapter::createConnection('redis:?host['.str_replace(' ', ']&host[', $hosts).']', ['class' => \Predis\Client::class, 'redis_cluster' => true, 'prefix' => 'prefix_']);
2929
}
30-
31-
public static function tearDownAfterClass(): void
32-
{
33-
self::$redis = null;
34-
}
3530
}

0 commit comments

Comments
 (0)