$entryReset = $em
->getRepository('WallabagCoreBundle:Entry')
- ->countAllEntriesByUsername($user->getId());
+ ->countAllEntriesByUser($user->getId());
$this->assertEquals(0, $entryReset, 'Entries were reset');
}
$entryReset = $em
->getRepository('WallabagCoreBundle:Entry')
- ->countAllEntriesByUsername($user->getId());
+ ->countAllEntriesByUser($user->getId());
$this->assertEquals(0, $entryReset, 'Entries were reset');