mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:44:26 +02:00
Mak PHPCS happy
This commit is contained in:
parent
03cfa2d066
commit
7b39b3b9c0
8 changed files with 25 additions and 30 deletions
|
@ -13,7 +13,6 @@ use Friendica\Core\Cache\Type\RedisCache;
|
|||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Core\Lock\Type\CacheLock;
|
||||
use Friendica\Test\CacheLockTestCase;
|
||||
use Friendica\Test\LockTestCase;
|
||||
use Mockery;
|
||||
|
||||
/**
|
||||
|
@ -49,7 +48,7 @@ class RedisCacheLockTest extends CacheLockTestCase
|
|||
|
||||
try {
|
||||
$this->cache = new RedisCache($host, $configMock);
|
||||
$this->lock = new CacheLock($this->cache);
|
||||
$this->lock = new CacheLock($this->cache);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Redis is not available. Error: ' . $e->getMessage());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue