diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-09 08:59:08 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-20 21:12:22 +0100 |
commit | 0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc (patch) | |
tree | 4cf8b97ed3c06def270e9172c7b17c5c86048585 /src/Wallabag/ImportBundle/Tests/Import | |
parent | d2b4f01d7435e8a8f99b15a2487916427c04e58d (diff) | |
download | wallabag-0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc.tar.gz wallabag-0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc.tar.zst wallabag-0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc.zip |
Convert english translation file
- convert english translation to translate key
- remove baggy template for login (never used since user isn't logged in and it'll use the default theme: material)
- fix tests about text in response (now checking translation key instead of translated text)
- remove all ugly `<div class="hidden">{{ form_rest(form) }}</div>`
Diffstat (limited to 'src/Wallabag/ImportBundle/Tests/Import')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php index 450cdc95..43b60ec3 100644 --- a/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php +++ b/src/Wallabag/ImportBundle/Tests/Import/PocketImportTest.php | |||
@@ -85,7 +85,7 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase | |||
85 | 85 | ||
86 | $this->assertEquals('Pocket', $pocketImport->getName()); | 86 | $this->assertEquals('Pocket', $pocketImport->getName()); |
87 | $this->assertNotEmpty($pocketImport->getUrl()); | 87 | $this->assertNotEmpty($pocketImport->getUrl()); |
88 | $this->assertContains('This importer will import all your Pocket data.', $pocketImport->getDescription()); | 88 | $this->assertEquals('import.pocket.description', $pocketImport->getDescription()); |
89 | } | 89 | } |
90 | 90 | ||
91 | public function testOAuthRequest() | 91 | public function testOAuthRequest() |
diff --git a/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php index 8ab7e830..496cf2d3 100644 --- a/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php +++ b/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php | |||
@@ -45,7 +45,7 @@ class WallabagV1ImportTest extends \PHPUnit_Framework_TestCase | |||
45 | 45 | ||
46 | $this->assertEquals('wallabag v1', $wallabagV1Import->getName()); | 46 | $this->assertEquals('wallabag v1', $wallabagV1Import->getName()); |
47 | $this->assertNotEmpty($wallabagV1Import->getUrl()); | 47 | $this->assertNotEmpty($wallabagV1Import->getUrl()); |
48 | $this->assertContains('This importer will import all your wallabag v1 articles.', $wallabagV1Import->getDescription()); | 48 | $this->assertEquals('import.wallabag_v1.description', $wallabagV1Import->getDescription()); |
49 | } | 49 | } |
50 | 50 | ||
51 | public function testImport() | 51 | public function testImport() |
diff --git a/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php index 2b642d27..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 | |||
45 | 45 | ||
46 | $this->assertEquals('wallabag v2', $wallabagV2Import->getName()); | 46 | $this->assertEquals('wallabag v2', $wallabagV2Import->getName()); |
47 | $this->assertNotEmpty($wallabagV2Import->getUrl()); | 47 | $this->assertNotEmpty($wallabagV2Import->getUrl()); |
48 | $this->assertContains('This importer will import all your wallabag v2 articles.', $wallabagV2Import->getDescription()); | 48 | $this->assertEquals('import.wallabag_v2.description', $wallabagV2Import->getDescription()); |
49 | } | 49 | } |
50 | 50 | ||
51 | public function testImport() | 51 | public function testImport() |