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