remove expire remove

This commit is contained in:
Dennis Eichhorn 2019-12-08 11:57:28 +01:00
parent 1abce14674
commit 4be0788af8

View File

@ -231,18 +231,6 @@ class RedisCacheTest extends \PHPUnit\Framework\TestCase
self::assertNull($this->cache->get('key2', 1));
}
/**
* @testdox Expired cache data can be deleted if equal expiration is defined
* @covers phpOMS\DataStorage\Cache\Connection\RedisCache<extended>
* @group framework
*/
public function testDeleteExpired() : void
{
$this->cache->set('key4', 'testVal4', 1);
\sleep(2);
self::assertTrue($this->cache->delete('key4', 1));
}
/**
* @testdox A bad cache status will prevent all cache actions
* @covers phpOMS\DataStorage\Cache\Connection\RedisCache<extended>