diff options
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/ExportControllerTest.php | 2 |
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'); |