X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FTests%2FImport%2FWallabagV2ImportTest.php;h=341b107620a619f9878a14f9f93a5b6c2ab69267;hb=0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc;hp=c461168ce5344a52f5cf3a6954b5b5310daa93b5;hpb=d89908aed331779fc79b8e50ddaa51212b6269f5;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php index c461168c..341b1076 100644 --- a/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php +++ b/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php @@ -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(); }));