aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-03-30 16:07:48 +0200
committerThomas Citharel <tcit@tcit.fr>2017-03-30 16:07:48 +0200
commit273b6f06584092f3b596406bf4c0d57aa738e8bf (patch)
tree167c4ba09d219bf890d2a282d52a34ee1656f7c5 /tests
parent90f95027a8c713047fc436bce271cb3e52bc3dee (diff)
downloadwallabag-273b6f06584092f3b596406bf4c0d57aa738e8bf.tar.gz
wallabag-273b6f06584092f3b596406bf4c0d57aa738e8bf.tar.zst
wallabag-273b6f06584092f3b596406bf4c0d57aa738e8bf.zip
Rename method from *username to *user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'tests')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
index beb0598a..8f2ca1cb 100644
--- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
@@ -798,7 +798,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
798 798
799 $entryReset = $em 799 $entryReset = $em
800 ->getRepository('WallabagCoreBundle:Entry') 800 ->getRepository('WallabagCoreBundle:Entry')
801 ->countAllEntriesByUsername($user->getId()); 801 ->countAllEntriesByUser($user->getId());
802 802
803 $this->assertEquals(0, $entryReset, 'Entries were reset'); 803 $this->assertEquals(0, $entryReset, 'Entries were reset');
804 } 804 }
@@ -843,7 +843,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
843 843
844 $entryReset = $em 844 $entryReset = $em
845 ->getRepository('WallabagCoreBundle:Entry') 845 ->getRepository('WallabagCoreBundle:Entry')
846 ->countAllEntriesByUsername($user->getId()); 846 ->countAllEntriesByUser($user->getId());
847 847
848 $this->assertEquals(0, $entryReset, 'Entries were reset'); 848 $this->assertEquals(0, $entryReset, 'Entries were reset');
849 849