mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
Fix test
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:
parent
be54dfe4e6
commit
e9056dd96f
2 changed files with 5 additions and 5 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue