]> git.mxchange.org Git - friendica.git/blob - tests/src/Core/Lock/ArrayCacheLockTest.php
Merge pull request #8075 from annando/html-escaping
[friendica.git] / tests / src / Core / Lock / ArrayCacheLockTest.php
1 <?php
2
3 namespace Friendica\Test\src\Core\Lock;
4
5 use Friendica\Core\Cache\ArrayCache;
6 use Friendica\Core\Lock\CacheLock;
7
8 class ArrayCacheLockTest extends LockTest
9 {
10         protected function getInstance()
11         {
12                 return new CacheLock(new ArrayCache('localhost'));
13         }
14
15         public function testLockTTL()
16         {
17                 // ArrayCache doesn't support TTL
18                 return true;
19         }
20 }