aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-03-11 14:48:46 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-03-20 21:12:22 +0100
commit4204a06b7726597dc84fe34b39c53f1534a86140 (patch)
treef81243f621997e9da4c39e4c17f2a2d37053103e /src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php
parent4f9cf232f8d4d750d39aca83406b8a6d5e17a6c9 (diff)
downloadwallabag-4204a06b7726597dc84fe34b39c53f1534a86140.tar.gz
wallabag-4204a06b7726597dc84fe34b39c53f1534a86140.tar.zst
wallabag-4204a06b7726597dc84fe34b39c53f1534a86140.zip
Add flashes messages
Diffstat (limited to 'src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php')
-rw-r--r--src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php b/src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php
index c2acd68c..174641fd 100644
--- a/src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php
+++ b/src/Wallabag/ImportBundle/Tests/Controller/PocketControllerTest.php
@@ -37,6 +37,6 @@ class PocketControllerTest extends WallabagCoreTestCase
37 37
38 $this->assertEquals(302, $client->getResponse()->getStatusCode()); 38 $this->assertEquals(302, $client->getResponse()->getStatusCode());
39 $this->assertContains('import/pocket', $client->getResponse()->headers->get('location')); 39 $this->assertContains('import/pocket', $client->getResponse()->headers->get('location'));
40 $this->assertEquals('Import failed, please try again.', $client->getContainer()->get('session')->getFlashBag()->peek('notice')[0]); 40 $this->assertEquals('flashes.import.notice.failed', $client->getContainer()->get('session')->getFlashBag()->peek('notice')[0]);
41 } 41 }
42} 42}