mirror of
https://github.com/friendica/friendica
synced 2025-04-29 00:24:24 +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\MemcacheCache;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Core\Lock\Type\CacheLock;
|
||||
use Friendica\Test\LockTestCase;
|
||||
use Mockery;
|
||||
|
||||
/**
|
||||
* @requires extension Memcache
|
||||
* @group MEMCACHE
|
||||
*/
|
||||
class MemcacheCacheLockTest extends LockTest
|
||||
class MemcacheCacheLockTest extends LockTestCase
|
||||
{
|
||||
protected function getInstance()
|
||||
{
|
||||
|
@ -39,7 +40,7 @@ class MemcacheCacheLockTest extends LockTest
|
|||
|
||||
try {
|
||||
$cache = new MemcacheCache($host, $configMock);
|
||||
$lock = new \Friendica\Core\Lock\Type\CacheLock($cache);
|
||||
$lock = new CacheLock($cache);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Memcache is not available');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue