aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/api/controllers/links/GetLinksTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-10-16 20:40:49 +0200
committerGitHub <noreply@github.com>2020-10-16 20:40:49 +0200
commit6866ed766f917f37bc7e1276779dece63d0f2835 (patch)
tree89b085ac6c4cd7608526f855f452d1a797dbb333 /tests/api/controllers/links/GetLinksTest.php
parent64cac2562661c55f679dba5a7c308e7764f430b5 (diff)
parentf1a148ab92c061ac129b5b2976de02d45b6a71e7 (diff)
downloadShaarli-6866ed766f917f37bc7e1276779dece63d0f2835.tar.gz
Shaarli-6866ed766f917f37bc7e1276779dece63d0f2835.tar.zst
Shaarli-6866ed766f917f37bc7e1276779dece63d0f2835.zip
Merge pull request #1588 from ArthurHoaro/feature/search-highlight
Diffstat (limited to 'tests/api/controllers/links/GetLinksTest.php')
-rw-r--r--tests/api/controllers/links/GetLinksTest.php2
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