public function Redis_Tests_Cache_AbstractFixesUnitTestCase::testUserSetPermTtl in Redis 7.2
File
- lib/
Redis/ Tests/ Cache/ AbstractFixesUnitTestCase.php, line 78
Class
- Redis_Tests_Cache_AbstractFixesUnitTestCase
- Bugfixes made over time test class.
Code
public function testUserSetPermTtl() {
global $conf;
// This also testes string parsing. Not fully, but at least one case.
$conf['redis_perm_ttl_cache'] = "1 months";
$backend = $this
->getBackend();
$this
->assertIdentical(2592000, $backend
->getPermTtl());
}