1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

Convert - to _ in language

Mostly to increase language supports
This commit is contained in:
Jeremy Benoist 2017-06-09 11:42:04 +02:00
parent 42f3bb2c63
commit 80e49ba7b0
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 13 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->assertEmpty($content->getLanguage(), 'Language for http://www.zataz.com is empty because not valid (fr-FR)');
$this->assertNotEmpty($content->getLanguage(), 'Language for http://www.zataz.com is ok');
$tags = $content->getTags();
$this->assertContains('foot', $tags, 'It includes the "foot" tag');