1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

[wallabag/wallabag#2611] Fix PHPCS lint errors

This commit is contained in:
Craig Roberts 2018-04-10 19:50:26 +08:00 committed by Jeremy Benoist
parent b32057980e
commit 9133bd02d1
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 11 deletions

View file

@ -4,9 +4,6 @@ namespace Tests\Wallabag\ApiBundle\Controller;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag;
use Wallabag\CoreBundle\Helper\ContentProxy;
use Wallabag\UserBundle\Entity\User;
class SearchRestControllerTest extends WallabagApiTestCase
{
@ -15,7 +12,7 @@ class SearchRestControllerTest extends WallabagApiTestCase
$this->client->request('GET', '/api/search', [
'page' => 1,
'perPage' => 2,
'term' => 'entry' // 6 results
'term' => 'entry', // 6 results
]);
$this->assertSame(200, $this->client->getResponse()->getStatusCode());
@ -45,7 +42,7 @@ class SearchRestControllerTest extends WallabagApiTestCase
public function testGetSearchWithNoLimit()
{
$this->client->request('GET', '/api/search', [
'term' => 'entry'
'term' => 'entry',
]);
$this->assertSame(200, $this->client->getResponse()->getStatusCode());