2018-04-17 02:11:51 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of the Symfony package.
|
|
|
|
*
|
|
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Symfony\Component\Cache\Tests\Adapter;
|
|
|
|
|
|
|
|
class PredisClusterAdapterTest extends AbstractRedisAdapterTest
|
|
|
|
{
|
2024-01-12 05:08:24 +00:00
|
|
|
public static function setUpBeforeClass()
|
2018-04-17 02:11:51 +00:00
|
|
|
{
|
2024-01-12 05:08:24 +00:00
|
|
|
parent::setUpBeforeClass();
|
|
|
|
self::$redis = new \Predis\Client([['host' => getenv('REDIS_HOST')]]);
|
2018-04-17 02:11:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public static function tearDownAfterClass()
|
|
|
|
{
|
|
|
|
self::$redis = null;
|
|
|
|
}
|
|
|
|
}
|