]> git.mxchange.org Git - friendica.git/blob - tests/src/Core/Lock/APCuCacheLockDriverTest.php
Merge pull request #7366 from guzzisti/install-md-wrapup
[friendica.git] / tests / src / Core / Lock / APCuCacheLockDriverTest.php
1 <?php
2
3 namespace Friendica\Test\src\Core\Lock;
4
5
6 use Friendica\Core\Cache\APCuCache;
7 use Friendica\Core\Lock\CacheLockDriver;
8
9 class APCuCacheLockDriverTest extends LockTest
10 {
11         protected function setUp()
12         {
13                 if (!APCuCache::isAvailable()) {
14                         $this->markTestSkipped('APCu is not available');
15                 }
16
17                 parent::setUp();
18         }
19
20         protected function getInstance()
21         {
22                 return new CacheLockDriver(new APCuCache());
23         }
24 }