diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-24 19:57:59 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-24 19:57:59 +0200 |
commit | 0e0102b6fcd17266f39dd63a808740d01ab9bd8a (patch) | |
tree | 18dfb21ca8e417343d844eb5f5f09fd6b9a11130 /tests/Wallabag/ImportBundle | |
parent | 13a522dfbd64d1eb14b6e3715289753b0506ded0 (diff) | |
download | wallabag-0e0102b6fcd17266f39dd63a808740d01ab9bd8a.tar.gz wallabag-0e0102b6fcd17266f39dd63a808740d01ab9bd8a.tar.zst wallabag-0e0102b6fcd17266f39dd63a808740d01ab9bd8a.zip |
Avoid failing test for user who didn’t install Redis
Diffstat (limited to 'tests/Wallabag/ImportBundle')
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php b/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php index 35673261..7d6a300f 100644 --- a/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php | |||
@@ -34,6 +34,7 @@ class PocketControllerTest extends WallabagCoreTestCase | |||
34 | 34 | ||
35 | public function testImportPocketWithRedisEnabled() | 35 | public function testImportPocketWithRedisEnabled() |
36 | { | 36 | { |
37 | $this->checkRedis(); | ||
37 | $this->logInAs('admin'); | 38 | $this->logInAs('admin'); |
38 | $client = $this->getClient(); | 39 | $client = $this->getClient(); |
39 | 40 | ||
diff --git a/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php b/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php index 7b88d891..87ecb9d3 100644 --- a/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php | |||
@@ -54,6 +54,7 @@ class ReadabilityControllerTest extends WallabagCoreTestCase | |||
54 | 54 | ||
55 | public function testImportReadabilityWithRedisEnabled() | 55 | public function testImportReadabilityWithRedisEnabled() |
56 | { | 56 | { |
57 | $this->checkRedis(); | ||
57 | $this->logInAs('admin'); | 58 | $this->logInAs('admin'); |
58 | $client = $this->getClient(); | 59 | $client = $this->getClient(); |
59 | 60 | ||
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php index 98e85d45..3497c4b8 100644 --- a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php | |||
@@ -54,6 +54,7 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase | |||
54 | 54 | ||
55 | public function testImportWallabagWithRedisEnabled() | 55 | public function testImportWallabagWithRedisEnabled() |
56 | { | 56 | { |
57 | $this->checkRedis(); | ||
57 | $this->logInAs('admin'); | 58 | $this->logInAs('admin'); |
58 | $client = $this->getClient(); | 59 | $client = $this->getClient(); |
59 | 60 | ||
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php index 74d61f9a..27d2d52b 100644 --- a/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php | |||
@@ -54,6 +54,7 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase | |||
54 | 54 | ||
55 | public function testImportWallabagWithRedisEnabled() | 55 | public function testImportWallabagWithRedisEnabled() |
56 | { | 56 | { |
57 | $this->checkRedis(); | ||
57 | $this->logInAs('admin'); | 58 | $this->logInAs('admin'); |
58 | $client = $this->getClient(); | 59 | $client = $this->getClient(); |
59 | 60 | ||