]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix bad parameter for tests
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 25 Sep 2016 12:21:12 +0000 (14:21 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 25 Sep 2016 12:21:12 +0000 (14:21 +0200)
tests/Wallabag/ApiBundle/Controller/WallabagRestControllerTest.php

index ee5b2ab7c94b196041875be53bc2bd91670b8d6e..101c20eb69fd82572d85f0549f633e41e4ecd21e 100644 (file)
@@ -80,7 +80,7 @@ class WallabagRestControllerTest extends WallabagApiTestCase
 
     public function testGetStarredEntries()
     {
-        $this->client->request('GET', '/api/entries', ['star' => 1, 'sort' => 'updated']);
+        $this->client->request('GET', '/api/entries', ['starred' => 1, 'sort' => 'updated']);
 
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode());