[Cache] cs fix
This commit is contained in:
parent
d936a707d3
commit
e95b8a3291
@ -18,7 +18,7 @@ class PredisAdapterTest extends AbstractRedisAdapterTest
|
|||||||
{
|
{
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
parent::setupBeforeClass();
|
parent::setUpBeforeClass();
|
||||||
self::$redis = new \Predis\Client(['host' => getenv('REDIS_HOST')]);
|
self::$redis = new \Predis\Client(['host' => getenv('REDIS_HOST')]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ class PredisClusterAdapterTest extends AbstractRedisAdapterTest
|
|||||||
{
|
{
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
parent::setupBeforeClass();
|
parent::setUpBeforeClass();
|
||||||
self::$redis = new \Predis\Client([['host' => getenv('REDIS_HOST')]]);
|
self::$redis = new \Predis\Client([['host' => getenv('REDIS_HOST')]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ class RedisAdapterTest extends AbstractRedisAdapterTest
|
|||||||
{
|
{
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
parent::setupBeforeClass();
|
parent::setUpBeforeClass();
|
||||||
self::$redis = AbstractAdapter::createConnection('redis://'.getenv('REDIS_HOST'), ['lazy' => true]);
|
self::$redis = AbstractAdapter::createConnection('redis://'.getenv('REDIS_HOST'), ['lazy' => true]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user