Avoid error when Redis isn't here in tests

This commit is contained in:
Jeremy Benoist 2016-10-10 16:34:57 +02:00
parent c99d90455b
commit e40bed3607
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class ChromeControllerTest extends WallabagCoreTestCase
public function testImportChromeWithRedisEnabled()
{
$this->checkRedis();
$this->logInAs('admin');
$client = $this->getClient();
$client->getContainer()->get('craue_config')->set('import_with_redis', 1);

View File

@ -54,6 +54,7 @@ class FirefoxControllerTest extends WallabagCoreTestCase
public function testImportFirefoxWithRedisEnabled()
{
$this->checkRedis();
$this->logInAs('admin');
$client = $this->getClient();
$client->getContainer()->get('craue_config')->set('import_with_redis', 1);