aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php
index 3c8b7980..409a8291 100644
--- a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php
+++ b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php
@@ -681,10 +681,9 @@ class EntryRestControllerTest extends WallabagApiTestCase
681 681
682 public function testReloadEntryErrorWhileFetching() 682 public function testReloadEntryErrorWhileFetching()
683 { 683 {
684 $entry = $this->client->getContainer() 684 $entry = $this->client->getContainer()->get('doctrine.orm.entity_manager')
685 ->get('doctrine.orm.entity_manager')
686 ->getRepository('WallabagCoreBundle:Entry') 685 ->getRepository('WallabagCoreBundle:Entry')
687 ->findOneBy(['user' => 1, 'isArchived' => false]); 686 ->findByUrlAndUserId('http://0.0.0.0/entry4', 1);
688 687
689 if (!$entry) { 688 if (!$entry) {
690 $this->markTestSkipped('No content found in db.'); 689 $this->markTestSkipped('No content found in db.');