aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-03-30 16:40:18 +0200
committerGitHub <noreply@github.com>2017-03-30 16:40:18 +0200
commitfa884b30ba0f8cb4231bd37fff23ef2f41ae6cfa (patch)
treed755e95b48baf9b05d717e3aa7f6045b34ef44f9 /tests
parent5633b32f0a9b4d5e007e7b8b10e92344ba5495e4 (diff)
parent273b6f06584092f3b596406bf4c0d57aa738e8bf (diff)
downloadwallabag-fa884b30ba0f8cb4231bd37fff23ef2f41ae6cfa.tar.gz
wallabag-fa884b30ba0f8cb4231bd37fff23ef2f41ae6cfa.tar.zst
wallabag-fa884b30ba0f8cb4231bd37fff23ef2f41ae6cfa.zip
Merge pull request #3021 from wallabag/rename-method
Rename method
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