protected function Redis_Tests_Cache_CompressedPhpRedisShardedFixesUnitTestCase::getClientInterface in Redis 7.3
Set up the Redis configuration.
Set up the needed variables using variable_set() if necessary.
Return value
string Client interface or null if not exists
Overrides Redis_Tests_AbstractUnitTestCase::getClientInterface
File
- lib/
Redis/ Tests/ Cache/ CompressedPhpRedisShardedFixesUnitTestCase.test, line 19
Class
Code
protected function getClientInterface() {
$GLOBALS['conf']['redis_flush_mode'] = Redis_Cache::FLUSH_SHARD;
return 'PhpRedis';
}