]> git.mxchange.org Git - friendica.git/blob - tests/src/Core/Cache/RedisCacheDriverTest.php
Merge pull request #6080 from annando/issue-6074
[friendica.git] / tests / src / Core / Cache / RedisCacheDriverTest.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 redis
14  */
15 class RedisCacheDriverTest extends MemoryCacheTest
16 {
17         protected function getInstance()
18         {
19                 $this->cache = CacheDriverFactory::create('redis');
20                 return $this->cache;
21         }
22
23         public function tearDown()
24         {
25                 $this->cache->clear(false);
26                 parent::tearDown();
27         }
28 }