aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-05-05 15:20:58 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-05-05 15:20:58 +0200
commit4eeb29ff784934fa879dd87999e07c4c7626af8c (patch)
treeb7aceca6528cda9635e734970fa3db2abba81a02 /tests/Wallabag
parent89f108b45ae94cd827595461b39f869111092579 (diff)
downloadwallabag-4eeb29ff784934fa879dd87999e07c4c7626af8c.tar.gz
wallabag-4eeb29ff784934fa879dd87999e07c4c7626af8c.tar.zst
wallabag-4eeb29ff784934fa879dd87999e07c4c7626af8c.zip
Fixed test
Diffstat (limited to 'tests/Wallabag')
-rw-r--r--tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php b/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php
index 688cc388..e6e57f30 100644
--- a/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php
+++ b/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php
@@ -100,5 +100,9 @@ class CleanDuplicatesCommandTest extends WallabagCoreTestCase
100 100
101 $nbEntries = $em->getRepository('WallabagCoreBundle:Entry')->findAllByUrlAndUserId($url, $this->getLoggedInUserId()); 101 $nbEntries = $em->getRepository('WallabagCoreBundle:Entry')->findAllByUrlAndUserId($url, $this->getLoggedInUserId());
102 $this->assertCount(1, $nbEntries); 102 $this->assertCount(1, $nbEntries);
103
104 $query = $em->createQuery('DELETE FROM Wallabag\CoreBundle\Entity\Entry e WHERE e.url = :url');
105 $query->setParameter('url', $url);
106 $query->execute();
103 } 107 }
104} 108}