aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-12-16 22:17:56 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-12-18 13:29:33 +0100
commit26e2f07419c9a16c2a304baa6d2cd36d6dddcd80 (patch)
tree3aaf86b0cfd7ecaf024cdb1e032f8c822fddd749
parenteb3754509d4fefa7ba87a2c1b2e7a3554238a7c0 (diff)
downloadwallabag-26e2f07419c9a16c2a304baa6d2cd36d6dddcd80.tar.gz
wallabag-26e2f07419c9a16c2a304baa6d2cd36d6dddcd80.tar.zst
wallabag-26e2f07419c9a16c2a304baa6d2cd36d6dddcd80.zip
Fix typo
-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');