Add redis error message for tests

This commit is contained in:
Philipp 2020-10-18 21:13:29 +02:00
parent b4624f87ae
commit 82dd919ce6
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;