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\RedisCache;
use Friendica\Core\Config\IConfig;
use Friendica\Core\Lock\CacheLock;
use Friendica\Core\Lock\Type\CacheLock;
use Mockery;
/**
@ -62,7 +62,7 @@ class RedisCacheLockTest extends LockTest
try {
$cache = new RedisCache($host, $configMock);
$lock = new CacheLock($cache);
$lock = new \Friendica\Core\Lock\Type\CacheLock($cache);
} catch (Exception $e) {
static::markTestSkipped('Redis is not available. Error: ' . $e->getMessage());
}