aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-02 16:53:52 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-07 07:43:48 +0200
commit74e1f7433a5fc0a9bbf3942a22917e0dd1cc6923 (patch)
tree0e40afc2a85658705fdf4a1a6b8e7c6c3d7dfbc3 /tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php
parent6c8806cadc9894e2bc7d067055feea6ee2b7602c (diff)
downloadwallabag-74e1f7433a5fc0a9bbf3942a22917e0dd1cc6923.tar.gz
wallabag-74e1f7433a5fc0a9bbf3942a22917e0dd1cc6923.tar.zst
wallabag-74e1f7433a5fc0a9bbf3942a22917e0dd1cc6923.zip
Fix tag test
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php b/tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php
index 9f35a448..9ecd8bc4 100644
--- a/tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php
@@ -193,7 +193,7 @@ class ExportControllerTest extends WallabagCoreTestCase
193 $contentInDB = $client->getContainer() 193 $contentInDB = $client->getContainer()
194 ->get('doctrine.orm.entity_manager') 194 ->get('doctrine.orm.entity_manager')
195 ->getRepository('WallabagCoreBundle:Entry') 195 ->getRepository('WallabagCoreBundle:Entry')
196 ->findOneByUsernameAndNotArchived('admin'); 196 ->findByUrlAndUserId('http://0.0.0.0/entry1', $this->getLoggedInUserId());
197 197
198 ob_start(); 198 ob_start();
199 $crawler = $client->request('GET', '/export/'.$contentInDB->getId().'.json'); 199 $crawler = $client->request('GET', '/export/'.$contentInDB->getId().'.json');