mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-11 17:51:02 +00:00
Avoid error when Redis isn't here in tests
This commit is contained in:
parent
c99d90455b
commit
e40bed3607
2 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ class ChromeControllerTest extends WallabagCoreTestCase
|
||||||
|
|
||||||
public function testImportChromeWithRedisEnabled()
|
public function testImportChromeWithRedisEnabled()
|
||||||
{
|
{
|
||||||
|
$this->checkRedis();
|
||||||
$this->logInAs('admin');
|
$this->logInAs('admin');
|
||||||
$client = $this->getClient();
|
$client = $this->getClient();
|
||||||
$client->getContainer()->get('craue_config')->set('import_with_redis', 1);
|
$client->getContainer()->get('craue_config')->set('import_with_redis', 1);
|
||||||
|
|
|
@ -54,6 +54,7 @@ class FirefoxControllerTest extends WallabagCoreTestCase
|
||||||
|
|
||||||
public function testImportFirefoxWithRedisEnabled()
|
public function testImportFirefoxWithRedisEnabled()
|
||||||
{
|
{
|
||||||
|
$this->checkRedis();
|
||||||
$this->logInAs('admin');
|
$this->logInAs('admin');
|
||||||
$client = $this->getClient();
|
$client = $this->getClient();
|
||||||
$client->getContainer()->get('craue_config')->set('import_with_redis', 1);
|
$client->getContainer()->get('craue_config')->set('import_with_redis', 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue