]> git.mxchange.org Git - friendica.git/blob - tests/src/Core/Cache/ArrayCacheDriverTest.php
Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git] / tests / src / Core / Cache / ArrayCacheDriverTest.php
1 <?php
2
3 namespace Friendica\Test\src\Core\Cache;
4
5
6 use Friendica\Core\Cache\ArrayCache;
7
8 class ArrayCacheDriverTest extends MemoryCacheTest
9 {
10         protected function getInstance()
11         {
12                 $this->cache = new ArrayCache();
13                 return $this->cache;
14         }
15
16         public function tearDown()
17         {
18                 $this->cache->clear(false);
19                 parent::tearDown();
20         }
21
22         public function testTTL()
23         {
24                 // Array Cache doesn't support TTL
25                 return true;
26         }
27 }