Project

General

Profile

Bug #24365 ยป redis.diff

Administrator Admin, 2010-12-18 17:45

View differences:

tests/t3lib/cache/backend/t3lib_cache_backend_redisbackendTest.php (working copy)
* @subpackage tests
*/
class t3lib_cache_backend_RedisBackendTest extends tx_phpunit_testcase {
/**
* @var boolean
*/
protected $backupGlobals = TRUE;
/**
* If set, the tearDown() method will flush the cache used by this unit test.
*
......
} catch (Exception $e) {
$this->markTestSkipped('redis server not reachable');
}
$this->backupGlobals = TRUE;
}
/**
......
if ($this->backend instanceof t3lib_cache_backend_RedisBackend) {
$this->backend->flush();
}
unset($this->redis, $this->backend);
}
/**
    (1-1/1)