]> git.mxchange.org Git - friendica.git/blob - tests/src/Core/Cache/MemcacheCacheDriverTest.php
skipping TTL tests
[friendica.git] / tests / src / Core / Cache / MemcacheCacheDriverTest.php
1 <?php
2
3
4 namespace Friendica\Test\src\Core\Cache;
5
6 /**
7  * @runTestsInSeparateProcesses
8  * @preserveGlobalState disabled
9  */
10 use Friendica\Core\Cache\CacheDriverFactory;
11
12 /**
13  * @requires extension memcache
14  */
15 class MemcacheCacheDriverTest extends MemoryCacheTest
16 {
17         protected function getInstance()
18         {
19                 $this->cache = CacheDriverFactory::create('memcache');
20                 return $this->cache;
21
22         }
23
24         public function tearDown()
25         {
26                 $this->cache->clear(false);
27                 parent::tearDown();
28         }
29 }