diff --git a/test/unit/CacheIntegrationTest.php b/test/unit/CacheIntegrationTest.php index 06c9252..af445d9 100644 --- a/test/unit/CacheIntegrationTest.php +++ b/test/unit/CacheIntegrationTest.php @@ -5,23 +5,24 @@ use Doctrine\Common\Cache\ArrayCache; use Roave\DoctrineSimpleCache\SimpleCacheAdapter; +/** + * @coversNothing + */ final class CacheIntegrationTest extends SimpleCacheTest { /** * @return \Psr\SimpleCache\CacheInterface that is used in the tests */ - public function createSimpleCache() + public function createSimpleCache() : \Psr\SimpleCache\CacheInterface { - $doctrineCache = new ArrayCache(); - - return new SimpleCacheAdapter($doctrineCache); + return new SimpleCacheAdapter(new ArrayCache()); } - protected function setUp() + protected function setUp() : void { parent::setUp(); - // @todo: Let's make these tests passed! + // @todo: Let's make these tests pass $this->skippedTests['testSetTtl'] = true; $this->skippedTests['testSetExpiredTtl'] = true; $this->skippedTests['testSetMultipleTtl'] = true;