mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
Fixed test
This commit is contained in:
parent
89f108b45a
commit
4eeb29ff78
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue