mirror of
https://github.com/friendica/friendica
synced 2025-02-25 20:38:13 +00:00
21 lines
357 B
PHP
21 lines
357 B
PHP
<?php
|
|
|
|
namespace Friendica\Test\src\Core\Lock;
|
|
|
|
|
|
use Friendica\Core\Cache\ArrayCache;
|
|
use Friendica\Core\Lock\CacheLockDriver;
|
|
|
|
class ArrayCacheLockDriverTest extends LockTest
|
|
{
|
|
protected function getInstance()
|
|
{
|
|
return new CacheLockDriver(new ArrayCache());
|
|
}
|
|
|
|
public function testLockTTL()
|
|
{
|
|
// ArrayCache doesn't support TTL
|
|
return true;
|
|
}
|
|
}
|