aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-08 22:51:30 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-08 22:51:30 +0200
commite9056dd96f9e8c2e06b5752b8de767bbedfc71ea (patch)
treedf834643a60f3ad95cd9b3722e99d0a55da1a464 /tests/Wallabag/ImportBundle/Controller
parentbe54dfe4e67b90bf6d94139fe968584871ca0f59 (diff)
downloadwallabag-e9056dd96f9e8c2e06b5752b8de767bbedfc71ea.tar.gz
wallabag-e9056dd96f9e8c2e06b5752b8de767bbedfc71ea.tar.zst
wallabag-e9056dd96f9e8c2e06b5752b8de767bbedfc71ea.zip
Fix test
de_DE is not valid language. Zataz doesn’t send a valid language in their content (they use `fr-FR`).
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php b/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php
index bde0a600..01decb23 100644
--- a/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/ReadabilityControllerTest.php
@@ -120,7 +120,7 @@ class ReadabilityControllerTest extends WallabagCoreTestCase
120 120
121 $this->assertNotEmpty($content->getMimetype(), 'Mimetype for http://www.zataz.com is ok'); 121 $this->assertNotEmpty($content->getMimetype(), 'Mimetype for http://www.zataz.com is ok');
122 $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://www.zataz.com is ok'); 122 $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://www.zataz.com is ok');
123 $this->assertNotEmpty($content->getLanguage(), 'Language for http://www.zataz.com is ok'); 123 $this->assertEmpty($content->getLanguage(), 'Language for http://www.zataz.com is empty because not valid (fr-FR)');
124 124
125 $tags = $content->getTags(); 125 $tags = $content->getTags();
126 $this->assertContains('foot', $tags, 'It includes the "foot" tag'); 126 $this->assertContains('foot', $tags, 'It includes the "foot" tag');