1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Rename method from *username to *user

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2017-03-30 16:07:48 +02:00
parent 90f95027a8
commit 273b6f0658
3 changed files with 4 additions and 4 deletions

View file

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