]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Avoid error when Redis isn't here in tests 2420/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 10 Oct 2016 14:34:57 +0000 (16:34 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 10 Oct 2016 14:34:57 +0000 (16:34 +0200)
tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php
tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php

index 23c80bec8a3a2fcf79536e69b055afd5c46e06a3..c0417bbe85b0972fc9ad0a44aae1df54938a974b 100644 (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);
index 98f13d728786a0aa83e325d219fe841f29e8931a..6154ae8dca488f2c59b47dfefe8882e3d0a6e76a 100644 (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);