You are here

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

Class

Redis_Tests_Cache_PredisShardedFlushUnitTestCase

Code

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