You are here

protected function Redis_Tests_Cache_PhpRedisShardedFixesUnitTestCase::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/PhpRedisShardedFixesUnitTestCase.test, line 14

Class

Redis_Tests_Cache_PhpRedisShardedFixesUnitTestCase

Code

protected function getClientInterface() {
  $GLOBALS['conf']['redis_flush_mode'] = Redis_Cache::FLUSH_SHARD;
  return 'PhpRedis';
}