1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00
de_DE is not valid language.
Zataz doesn’t send a valid language in their content (they use `fr-FR`).
This commit is contained in:
Jeremy Benoist 2017-06-08 22:51:30 +02:00
parent be54dfe4e6
commit e9056dd96f
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 5 additions and 5 deletions

View file

@ -120,7 +120,7 @@ class ReadabilityControllerTest extends WallabagCoreTestCase
$this->assertNotEmpty($content->getMimetype(), 'Mimetype for http://www.zataz.com is ok');
$this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://www.zataz.com is ok');
$this->assertNotEmpty($content->getLanguage(), 'Language for http://www.zataz.com is ok');
$this->assertEmpty($content->getLanguage(), 'Language for http://www.zataz.com is empty because not valid (fr-FR)');
$tags = $content->getTags();
$this->assertContains('foot', $tags, 'It includes the "foot" tag');