mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
28 lines
603 B
PHP
28 lines
603 B
PHP
<?php
|
|
|
|
// Copyright (C) 2010-2024, the Friendica project
|
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace Friendica\Test\src\Core\Lock;
|
|
|
|
use Friendica\Core\Cache\Type\ArrayCache;
|
|
use Friendica\Core\Lock\Type\CacheLock;
|
|
use Friendica\Test\LockTestCase;
|
|
|
|
class ArrayCacheLockTest extends LockTestCase
|
|
{
|
|
protected function getInstance()
|
|
{
|
|
return new CacheLock(new ArrayCache('localhost'));
|
|
}
|
|
|
|
/**
|
|
* @doesNotPerformAssertions
|
|
*/
|
|
public function testLockTTL()
|
|
{
|
|
self::markTestSkipped("ArrayCache doesn't support TTL");
|
|
}
|
|
}
|