aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
index a02f9699..0e7e1576 100644
--- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
@@ -10,7 +10,7 @@ use Wallabag\CoreBundle\Helper\ContentProxy;
10 10
11class EntryControllerTest extends WallabagCoreTestCase 11class EntryControllerTest extends WallabagCoreTestCase
12{ 12{
13 const An_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE = 'http://www.lemonde.fr/judo/article/2017/11/11/judo-la-decima-de-teddy-riner_5213605_1556020.html'; 13 const AN_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE = 'http://www.lemonde.fr/judo/article/2017/11/11/judo-la-decima-de-teddy-riner_5213605_1556020.html';
14 public $downloadImagesEnabled = false; 14 public $downloadImagesEnabled = false;
15 public $url = 'http://www.lemonde.fr/pixels/article/2015/03/28/plongee-dans-l-univers-d-ingress-le-jeu-de-google-aux-frontieres-du-reel_4601155_4408996.html'; 15 public $url = 'http://www.lemonde.fr/pixels/article/2015/03/28/plongee-dans-l-univers-d-ingress-le-jeu-de-google-aux-frontieres-du-reel_4601155_4408996.html';
16 16
@@ -1018,7 +1018,7 @@ class EntryControllerTest extends WallabagCoreTestCase
1018 $this->logInAs('admin'); 1018 $this->logInAs('admin');
1019 $client = $this->getClient(); 1019 $client = $this->getClient();
1020 1020
1021 $url = self::An_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE; 1021 $url = self::AN_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE;
1022 $client->getContainer()->get('craue_config')->set('download_images_enabled', 1); 1022 $client->getContainer()->get('craue_config')->set('download_images_enabled', 1);
1023 1023
1024 $crawler = $client->request('GET', '/new'); 1024 $crawler = $client->request('GET', '/new');
@@ -1060,7 +1060,7 @@ class EntryControllerTest extends WallabagCoreTestCase
1060 $this->logInAs('admin'); 1060 $this->logInAs('admin');
1061 $client = $this->getClient(); 1061 $client = $this->getClient();
1062 1062
1063 $url = self::An_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE; 1063 $url = self::AN_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE;
1064 $client->getContainer()->get('craue_config')->set('download_images_enabled', 1); 1064 $client->getContainer()->get('craue_config')->set('download_images_enabled', 1);
1065 1065
1066 $crawler = $client->request('GET', '/new'); 1066 $crawler = $client->request('GET', '/new');