]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/api/controllers/links/GetLinksTest.php
add search highlight unit tests
[github/shaarli/Shaarli.git] / tests / api / controllers / links / GetLinksTest.php
index 0f5073b47197470491982856b167529b86310bec..b1c46ee2816853b45a5a8abfcac28f8c71f4b973 100644 (file)
@@ -398,7 +398,7 @@ class GetLinksTest extends \Shaarli\TestCase
         $response = $this->controller->getLinks($request, new Response());
         $this->assertEquals(200, $response->getStatusCode());
         $data = json_decode((string) $response->getBody(), true);
-        $this->assertEquals(4, count($data));
+        $this->assertEquals(5, count($data));
         $this->assertEquals(6, $data[0]['id']);
 
         // wildcard: placeholder at the middle