diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-12-18 14:32:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 14:32:21 +0100 |
commit | ef5c8a7d01d7b3f0041455503499ab67e2206e0d (patch) | |
tree | 66fad00b695ceb24a5a3ee7ef3185c18050f316f /tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |
parent | 01ea7f585504fba74bd138386ca30ca4d26cfe65 (diff) | |
parent | ad880894a8dc0af97ee145f76ed10ca99e1ebf5a (diff) | |
download | wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.tar.gz wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.tar.zst wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.zip |
Merge pull request #3515 from wallabag/php-7.2
Add PHP 7.2 compatibility
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 6 |
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 | ||
11 | class EntryControllerTest extends WallabagCoreTestCase | 11 | class 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'); |