diff options
Diffstat (limited to 'src/Wallabag/ApiBundle/Tests')
-rw-r--r-- | src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php index f5a9748c..6bc7afa6 100644 --- a/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php +++ b/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php | |||
@@ -188,8 +188,8 @@ class WallabagRestControllerTest extends WallabagApiTestCase | |||
188 | { | 188 | { |
189 | $this->client->request('POST', '/api/entries.json', array( | 189 | $this->client->request('POST', '/api/entries.json', array( |
190 | 'url' => 'http://www.lemonde.fr/idees/article/2016/02/08/preserver-la-liberte-d-expression-sur-les-reseaux-sociaux_4861503_3232.html', | 190 | 'url' => 'http://www.lemonde.fr/idees/article/2016/02/08/preserver-la-liberte-d-expression-sur-les-reseaux-sociaux_4861503_3232.html', |
191 | 'archive' => 'true', | 191 | 'archive' => '1', |
192 | 'starred' => 'true', | 192 | 'starred' => '1', |
193 | )); | 193 | )); |
194 | 194 | ||
195 | $this->assertEquals(200, $this->client->getResponse()->getStatusCode()); | 195 | $this->assertEquals(200, $this->client->getResponse()->getStatusCode()); |
@@ -220,8 +220,8 @@ class WallabagRestControllerTest extends WallabagApiTestCase | |||
220 | $this->client->request('PATCH', '/api/entries/'.$entry->getId().'.json', array( | 220 | $this->client->request('PATCH', '/api/entries/'.$entry->getId().'.json', array( |
221 | 'title' => 'New awesome title', | 221 | 'title' => 'New awesome title', |
222 | 'tags' => 'new tag '.uniqid(), | 222 | 'tags' => 'new tag '.uniqid(), |
223 | 'star' => true, | 223 | 'starred' => '1', |
224 | 'archive' => false, | 224 | 'archive' => '0', |
225 | )); | 225 | )); |
226 | 226 | ||
227 | $this->assertEquals(200, $this->client->getResponse()->getStatusCode()); | 227 | $this->assertEquals(200, $this->client->getResponse()->getStatusCode()); |