mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 17:35:15 +02:00
Add a bunch of tests for StatsCaching
This commit is contained in:
parent
892fa595da
commit
b222aa0c48
15 changed files with 477 additions and 43 deletions
|
@ -12,6 +12,7 @@ use Friendica\App;
|
|||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Core\Config\Model\ReadOnlyFileConfig;
|
||||
use Friendica\Core\Config\ValueObject\Cache;
|
||||
use Friendica\Core\Lock\Capability\ICanLock;
|
||||
use Friendica\Core\Lock\Type\SemaphoreLock;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\DI;
|
||||
|
@ -40,7 +41,7 @@ class SemaphoreLockTest extends LockTestCase
|
|||
parent::setUp();
|
||||
}
|
||||
|
||||
protected function getInstance()
|
||||
protected function getInstance(): ICanLock
|
||||
{
|
||||
return new SemaphoreLock();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue