mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:44:26 +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
|
@ -7,6 +7,7 @@
|
|||
|
||||
namespace Friendica\Test\src\Core\Lock;
|
||||
|
||||
use Friendica\Core\Lock\Capability\ICanLock;
|
||||
use Friendica\Core\Lock\Type\DatabaseLock;
|
||||
use Friendica\Test\LockTestCase;
|
||||
use Friendica\Test\Util\CreateDatabaseTrait;
|
||||
|
@ -26,7 +27,7 @@ class DatabaseLockDriverTest extends LockTestCase
|
|||
parent::setUp();
|
||||
}
|
||||
|
||||
protected function getInstance()
|
||||
protected function getInstance(): ICanLock
|
||||
{
|
||||
return new DatabaseLock($this->getDbInstance(), $this->pid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue