public function Redis_Tests_Cache_FixesUnitTestCase::testUserSetPermTtl in Redis 7.3
File
- lib/
Redis/ Tests/ Cache/ FixesUnitTestCase.php, line 118
Class
- Redis_Tests_Cache_FixesUnitTestCase
- 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'] = "1 months";
$backend = $this
->getBackend();
$this
->assertIdentical(2592000, $backend
->getPermTtl());
}