]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
Convert english translation file
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Tests / Import / WallabagV1ImportTest.php
index fbcd270d31d6a39bcf8dd5ef374b243d9e955d3b..496cf2d37dc23d44235297686eaf7cce8e70ab5c 100644 (file)
@@ -45,7 +45,7 @@ class WallabagV1ImportTest extends \PHPUnit_Framework_TestCase
 
         $this->assertEquals('wallabag v1', $wallabagV1Import->getName());
         $this->assertNotEmpty($wallabagV1Import->getUrl());
-        $this->assertContains('This importer will import all your wallabag v1 articles.', $wallabagV1Import->getDescription());
+        $this->assertEquals('import.wallabag_v1.description', $wallabagV1Import->getDescription());
     }
 
     public function testImport()
@@ -103,7 +103,7 @@ class WallabagV1ImportTest extends \PHPUnit_Framework_TestCase
         $this->em
             ->expects($this->any())
             ->method('persist')
-            ->with($this->callback(function($persistedEntry) {
+            ->with($this->callback(function ($persistedEntry) {
                 return $persistedEntry->isArchived();
             }));