From: Jeremy Benoist Date: Sun, 25 Sep 2016 12:21:12 +0000 (+0200) Subject: Fix bad parameter for tests X-Git-Tag: 2.1.0~26^2~4 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f0fd82d039f491d1057ed194084ee40d4327011e;p=github%2Fwallabag%2Fwallabag.git Fix bad parameter for tests --- diff --git a/tests/Wallabag/ApiBundle/Controller/WallabagRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/WallabagRestControllerTest.php index ee5b2ab7..101c20eb 100644 --- a/tests/Wallabag/ApiBundle/Controller/WallabagRestControllerTest.php +++ b/tests/Wallabag/ApiBundle/Controller/WallabagRestControllerTest.php @@ -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());