|
21 | 21 |
|
22 | 22 | class BuzzIntegrationTest extends BaseIntegrationTest |
23 | 23 | { |
24 | | - protected function setUp() |
| 24 | + protected function setUp(): void |
25 | 25 | { |
26 | 26 | parent::setUp(); |
27 | 27 | if (empty($_SERVER['BUZZ_TEST_SERVER'])) { |
@@ -125,7 +125,7 @@ public function testFormPostWithRequestBuilder($client, $async) |
125 | 125 | $this->assertNotEmpty($response->getBody()->__toString(), 'Response from server should not be empty'); |
126 | 126 |
|
127 | 127 | $data = json_decode($response->getBody()->__toString(), true); |
128 | | - $this->assertInternalType('array', $data, $response->getBody()->__toString()); |
| 128 | + $this->assertIsArray($data, $response->getBody()->__toString()); |
129 | 129 | $this->assertArrayHasKey('SERVER', $data); |
130 | 130 |
|
131 | 131 | $this->assertStringStartsWith('multipart/form-data', $data['SERVER']['CONTENT_TYPE']); |
@@ -156,7 +156,7 @@ public function testFormPostWithLargeRequestBody($client, $async) |
156 | 156 | $this->assertNotEmpty($response->getBody()->__toString(), 'Response from server should not be empty'); |
157 | 157 |
|
158 | 158 | $data = json_decode($response->getBody()->__toString(), true); |
159 | | - $this->assertInternalType('array', $data, $response->getBody()->__toString()); |
| 159 | + $this->assertIsArray($data, $response->getBody()->__toString()); |
160 | 160 | $this->assertArrayHasKey('SERVER', $data); |
161 | 161 |
|
162 | 162 | $this->assertStringStartsWith('multipart/form-data', $data['SERVER']['CONTENT_TYPE']); |
|
0 commit comments