From e6641fe1a93cd3632d3362a4b441bfc0a81d6cb4 Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Tue, 14 Apr 2020 22:09:23 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- tests/Client.php | 3 +-- tests/Feature/LoginControllerTest.php | 4 +--- tests/TestCase.php | 5 ++--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/Client.php b/tests/Client.php index 62ba8cc..600a6ad 100644 --- a/tests/Client.php +++ b/tests/Client.php @@ -9,7 +9,6 @@ use Symfony\Component\BrowserKit\Response; class Client extends AbstractBrowser { - protected function doRequest($request) { define('BASE_DIR', realpath(__DIR__.'/../').DIRECTORY_SEPARATOR); @@ -22,4 +21,4 @@ class Client extends AbstractBrowser return new Response($response->getBody()->getContents(), $response->getStatusCode(), $response->getHeaders()); } -} \ No newline at end of file +} diff --git a/tests/Feature/LoginControllerTest.php b/tests/Feature/LoginControllerTest.php index 80da3c8..dea9aa9 100644 --- a/tests/Feature/LoginControllerTest.php +++ b/tests/Feature/LoginControllerTest.php @@ -3,7 +3,6 @@ namespace Tests\Feature; - use Tests\TestCase; class LoginControllerTest extends TestCase @@ -16,5 +15,4 @@ class LoginControllerTest extends TestCase //$this->client->getResponse(); $this->assertSame(200, $this->client->getResponse()->getStatusCode()); } - -} \ No newline at end of file +} diff --git a/tests/TestCase.php b/tests/TestCase.php index 70fa298..9aa2a34 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,6 +1,7 @@ client = new Client(); } - -} \ No newline at end of file +}