]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Renamed countAllEntriesByUsername method
authorNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 31 Mar 2017 08:46:47 +0000 (10:46 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 31 Mar 2017 08:46:47 +0000 (10:46 +0200)
tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php

index b434a4c4009645a65f7af59121df372a4a203c87..35888f167f8078545105999e944d1f11ac8a5e4c 100644 (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');