diff options
author | Craig Roberts <craig@craig0990.co.uk> | 2018-04-10 19:50:26 +0800 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-01-22 20:42:25 +0100 |
commit | 9133bd02d11c37c98b2c7c979e363cc7bff8f914 (patch) | |
tree | 0a5a7753fd03eac064c67765eb1a03dc7cc57e3d /tests/Wallabag/ApiBundle/Controller/SearchRestControllerTest.php | |
parent | b32057980e33e7ddd93480017496a589006b8260 (diff) | |
download | wallabag-9133bd02d11c37c98b2c7c979e363cc7bff8f914.tar.gz wallabag-9133bd02d11c37c98b2c7c979e363cc7bff8f914.tar.zst wallabag-9133bd02d11c37c98b2c7c979e363cc7bff8f914.zip |
[wallabag/wallabag#2611] Fix PHPCS lint errors
Diffstat (limited to 'tests/Wallabag/ApiBundle/Controller/SearchRestControllerTest.php')
-rw-r--r-- | tests/Wallabag/ApiBundle/Controller/SearchRestControllerTest.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/SearchRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/SearchRestControllerTest.php index 5900ae53..f096f21b 100644 --- a/tests/Wallabag/ApiBundle/Controller/SearchRestControllerTest.php +++ b/tests/Wallabag/ApiBundle/Controller/SearchRestControllerTest.php | |||
@@ -4,9 +4,6 @@ namespace Tests\Wallabag\ApiBundle\Controller; | |||
4 | 4 | ||
5 | use Tests\Wallabag\ApiBundle\WallabagApiTestCase; | 5 | use Tests\Wallabag\ApiBundle\WallabagApiTestCase; |
6 | use Wallabag\CoreBundle\Entity\Entry; | 6 | use Wallabag\CoreBundle\Entity\Entry; |
7 | use Wallabag\CoreBundle\Entity\Tag; | ||
8 | use Wallabag\CoreBundle\Helper\ContentProxy; | ||
9 | use Wallabag\UserBundle\Entity\User; | ||
10 | 7 | ||
11 | class SearchRestControllerTest extends WallabagApiTestCase | 8 | class SearchRestControllerTest extends WallabagApiTestCase |
12 | { | 9 | { |
@@ -15,7 +12,7 @@ class SearchRestControllerTest extends WallabagApiTestCase | |||
15 | $this->client->request('GET', '/api/search', [ | 12 | $this->client->request('GET', '/api/search', [ |
16 | 'page' => 1, | 13 | 'page' => 1, |
17 | 'perPage' => 2, | 14 | 'perPage' => 2, |
18 | 'term' => 'entry' // 6 results | 15 | 'term' => 'entry', // 6 results |
19 | ]); | 16 | ]); |
20 | 17 | ||
21 | $this->assertSame(200, $this->client->getResponse()->getStatusCode()); | 18 | $this->assertSame(200, $this->client->getResponse()->getStatusCode()); |
@@ -45,7 +42,7 @@ class SearchRestControllerTest extends WallabagApiTestCase | |||
45 | public function testGetSearchWithNoLimit() | 42 | public function testGetSearchWithNoLimit() |
46 | { | 43 | { |
47 | $this->client->request('GET', '/api/search', [ | 44 | $this->client->request('GET', '/api/search', [ |
48 | 'term' => 'entry' | 45 | 'term' => 'entry', |
49 | ]); | 46 | ]); |
50 | 47 | ||
51 | $this->assertSame(200, $this->client->getResponse()->getStatusCode()); | 48 | $this->assertSame(200, $this->client->getResponse()->getStatusCode()); |