forked from wallabag/wallabag
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:
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user