summaryrefslogtreecommitdiff
path: root/tests/PHPUnit/TestCases/HttpResponseTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/TestCases/HttpResponseTestCase.php')
-rw-r--r--tests/PHPUnit/TestCases/HttpResponseTestCase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/TestCases/HttpResponseTestCase.php b/tests/PHPUnit/TestCases/HttpResponseTestCase.php
index 855e594..31dc1d7 100644
--- a/tests/PHPUnit/TestCases/HttpResponseTestCase.php
+++ b/tests/PHPUnit/TestCases/HttpResponseTestCase.php
@@ -9,14 +9,14 @@ use PHPUnit\Framework\TestCase;
class HttpResponseTestCase extends TestCase
{
protected Client $client;
-
+
protected function setUp(): void
{
$this->client = new Client([
"base_uri" => "http://localhost:8080",
]);
}
-
+
/**
* @param array $options
*/
@@ -28,7 +28,7 @@ class HttpResponseTestCase extends TestCase
["http_errors" => false] + $options
);
}
-
+
public function hasJsonBody(Response $response): bool
{
json_decode((string)$response->getBody());