mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
Fixed test
This commit is contained in:
parent
89f108b45a
commit
4eeb29ff78
@ -100,5 +100,9 @@ class CleanDuplicatesCommandTest extends WallabagCoreTestCase
|
||||
|
||||
$nbEntries = $em->getRepository('WallabagCoreBundle:Entry')->findAllByUrlAndUserId($url, $this->getLoggedInUserId());
|
||||
$this->assertCount(1, $nbEntries);
|
||||
|
||||
$query = $em->createQuery('DELETE FROM Wallabag\CoreBundle\Entity\Entry e WHERE e.url = :url');
|
||||
$query->setParameter('url', $url);
|
||||
$query->execute();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user