mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:10:17 +00:00
fix travis tests
This commit is contained in:
parent
3ca8fa0e00
commit
e604b3239d
5 changed files with 22 additions and 3 deletions
|
@ -8,6 +8,15 @@ use Friendica\Core\Lock\CacheLockDriver;
|
|||
|
||||
class APCuCacheLockDriverTest extends LockTest
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
if (!APCuCache::isAvailable()) {
|
||||
$this->markTestSkipped('APCu is not available');
|
||||
}
|
||||
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
protected function getInstance()
|
||||
{
|
||||
return new CacheLockDriver(new APCuCache());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue