Restructure Lock to follow new paradigm

This commit is contained in:
Philipp 2021-10-23 11:36:37 +02:00
parent ab83d0dd27
commit ff1a812e1a
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
14 changed files with 31 additions and 31 deletions

View file

@ -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');
}