mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Add redis error message for tests
This commit is contained in:
parent
b4624f87ae
commit
82dd919ce6
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class RedisCacheTest extends MemoryCacheTest
|
|||
try {
|
||||
$this->cache = new RedisCache($host, $configMock);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Redis is not available.');
|
||||
static::markTestSkipped('Redis is not available. Failure: ' . $e->getMessage());
|
||||
}
|
||||
return $this->cache;
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ class RedisCacheLockTest extends LockTest
|
|||
$cache = new RedisCache($host, $configMock);
|
||||
$lock = new CacheLock($cache);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Redis is not available');
|
||||
static::markTestSkipped('Redis is not available. Error: ' . $e->getMessage());
|
||||
}
|
||||
|
||||
return $lock;
|
||||
|
|
Loading…
Reference in a new issue