diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-08-13 10:45:10 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-08-13 10:46:40 +0200 |
commit | beb68ad3ddc48f9e913815e0e18f11965201f32e (patch) | |
tree | c8f3cdabedb6f2635bd0f5378bc5e426ba8c5f65 /tests/PHPUnit/TestCases/HttpResponseTestCase.php | |
parent | 6b7e857f21bef9ba71ac36c202678ec0d84eeff5 (diff) |
whitespace :]
Diffstat (limited to 'tests/PHPUnit/TestCases/HttpResponseTestCase.php')
-rw-r--r-- | tests/PHPUnit/TestCases/HttpResponseTestCase.php | 6 |
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()); |