Renamed countAllEntriesByUsername method

This commit is contained in:
Nicolas Lœuillet 2017-03-31 10:46:47 +02:00
parent 6da1aebc94
commit 73f28afb19
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2

View file

@ -862,7 +862,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$entryReset = $em
->getRepository('WallabagCoreBundle:Entry')
->countAllEntriesByUsername($user->getId());
->countAllEntriesByUser($user->getId());
$this->assertEquals(1, $entryReset, 'Entries were reset');