diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 20:40:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 20:40:49 +0200 |
commit | 6866ed766f917f37bc7e1276779dece63d0f2835 (patch) | |
tree | 89b085ac6c4cd7608526f855f452d1a797dbb333 /tests/api | |
parent | 64cac2562661c55f679dba5a7c308e7764f430b5 (diff) | |
parent | f1a148ab92c061ac129b5b2976de02d45b6a71e7 (diff) | |
download | Shaarli-6866ed766f917f37bc7e1276779dece63d0f2835.tar.gz Shaarli-6866ed766f917f37bc7e1276779dece63d0f2835.tar.zst Shaarli-6866ed766f917f37bc7e1276779dece63d0f2835.zip |
Merge pull request #1588 from ArthurHoaro/feature/search-highlight
Diffstat (limited to 'tests/api')
-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 |