]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix test 4410/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 25 May 2020 03:50:11 +0000 (05:50 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 25 May 2020 03:50:11 +0000 (05:50 +0200)
tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php

index 963759b1e76829a0da9e267342ccf95308f19530..15646d55bad84fab1bf79f1107150426bae2fce9 100644 (file)
@@ -121,7 +121,7 @@ class PinboardControllerTest extends WallabagCoreTestCase
         $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content);
         $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://ma.ttias.be is ok');
         $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://ma.ttias.be is ok');
-        $this->assertNull($content->getLanguage(), 'Language for https://ma.ttias.be is null');
+        $this->assertNotEmpty($content->getLanguage(), 'Language for https://ma.ttias.be is ok');
 
         $tags = $content->getTags();
         $this->assertContains('foot', $tags, 'It includes the "foot" tag');