aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-11-20 15:15:13 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-11-20 15:15:13 +0100
commit70584b42aaa75c2fe9adda5cf6c37ab63adcccb3 (patch)
tree975086a7f2e174b848f21740dac54b92c8065028 /tests/Wallabag
parent0a6f4568b5e4f6291cc19cbea929ed1ebeca3a54 (diff)
downloadwallabag-70584b42aaa75c2fe9adda5cf6c37ab63adcccb3.tar.gz
wallabag-70584b42aaa75c2fe9adda5cf6c37ab63adcccb3.tar.zst
wallabag-70584b42aaa75c2fe9adda5cf6c37ab63adcccb3.zip
Fixing tests
Diffstat (limited to 'tests/Wallabag')
-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.');