mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:44:26 +02:00
Rename LockTest to LockTestCase
This commit is contained in:
parent
a676e738e0
commit
75632a1490
8 changed files with 22 additions and 14 deletions
|
@ -11,13 +11,14 @@ use Exception;
|
|||
use Friendica\Core\Cache\Type\RedisCache;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Core\Lock\Type\CacheLock;
|
||||
use Friendica\Test\LockTestCase;
|
||||
use Mockery;
|
||||
|
||||
/**
|
||||
* @requires extension redis
|
||||
* @group REDIS
|
||||
*/
|
||||
class RedisCacheLockTest extends LockTest
|
||||
class RedisCacheLockTest extends LockTestCase
|
||||
{
|
||||
protected function getInstance()
|
||||
{
|
||||
|
@ -48,7 +49,7 @@ class RedisCacheLockTest extends LockTest
|
|||
|
||||
try {
|
||||
$cache = new RedisCache($host, $configMock);
|
||||
$lock = new \Friendica\Core\Lock\Type\CacheLock($cache);
|
||||
$lock = new CacheLock($cache);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Redis is not available. Error: ' . $e->getMessage());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue