Merge pull request #2420 from wallabag/redis-tests

Avoid error when Redis isn't here in tests
This commit is contained in:
Nicolas Lœuillet 2016-10-10 19:02:05 +02:00 committed by GitHub
commit 7dacf35845
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);