diff options
Diffstat (limited to 'tests/api/controllers')
-rw-r--r-- | tests/api/controllers/links/GetLinksTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/controllers/links/GetLinksTest.php b/tests/api/controllers/links/GetLinksTest.php index 0f5073b4..b1c46ee2 100644 --- a/tests/api/controllers/links/GetLinksTest.php +++ b/tests/api/controllers/links/GetLinksTest.php | |||
@@ -398,7 +398,7 @@ class GetLinksTest extends \Shaarli\TestCase | |||
398 | $response = $this->controller->getLinks($request, new Response()); | 398 | $response = $this->controller->getLinks($request, new Response()); |
399 | $this->assertEquals(200, $response->getStatusCode()); | 399 | $this->assertEquals(200, $response->getStatusCode()); |
400 | $data = json_decode((string) $response->getBody(), true); | 400 | $data = json_decode((string) $response->getBody(), true); |
401 | $this->assertEquals(4, count($data)); | 401 | $this->assertEquals(5, count($data)); |
402 | $this->assertEquals(6, $data[0]['id']); | 402 | $this->assertEquals(6, $data[0]['id']); |
403 | 403 | ||
404 | // wildcard: placeholder at the middle | 404 | // wildcard: placeholder at the middle |