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 +}