]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
Improve pagination when user has lot of entries
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Tests / Controller / EntryControllerTest.php
index 46fbaf918f6e936f9f5fd7a2e48ff8db1b10b262..f15aaab12731e8fd5a6d7feb31cdae2623dc2ab2 100644 (file)
@@ -225,8 +225,7 @@ class EntryControllerTest extends WallabagCoreTestCase
 
         $client->request('GET', '/all/list/900');
 
-        $this->assertEquals(302, $client->getResponse()->getStatusCode());
-        $this->assertEquals('/all/list', $client->getResponse()->getTargetUrl());
+        $this->assertEquals(404, $client->getResponse()->getStatusCode());
     }
 
     /**