mirror of
https://github.com/friendica/friendica
synced 2025-04-29 00:24:24 +02:00
Restructure Lock to follow new paradigm
This commit is contained in:
parent
ab83d0dd27
commit
ff1a812e1a
14 changed files with 31 additions and 31 deletions
|
@ -24,7 +24,7 @@ namespace Friendica\Test\src\Core\Lock;
|
|||
use Exception;
|
||||
use Friendica\Core\Cache\Type\MemcacheCache;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Friendica\Core\Lock\CacheLock;
|
||||
use Friendica\Core\Lock\Type\CacheLock;
|
||||
use Mockery;
|
||||
|
||||
/**
|
||||
|
@ -53,7 +53,7 @@ class MemcacheCacheLockTest extends LockTest
|
|||
|
||||
try {
|
||||
$cache = new MemcacheCache($host, $configMock);
|
||||
$lock = new CacheLock($cache);
|
||||
$lock = new \Friendica\Core\Lock\Type\CacheLock($cache);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Memcache is not available');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue