@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | class ConnectionTest extends TestCase |
| 23 | 23 | { |
| 24 | 24 | private Connection $object; |
| 25 | - private Client|MockObject $clientMock; |
|
| 25 | + private Client | MockObject $clientMock; |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @throws Exception |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * @return ResponseInterface|MockObject |
| 93 | 93 | * @throws Exception |
| 94 | 94 | */ |
| 95 | - private function createResponse(string $content): ResponseInterface|MockObject |
|
| 95 | + private function createResponse(string $content): ResponseInterface | MockObject |
|
| 96 | 96 | { |
| 97 | 97 | $response = $this->createMock(ResponseInterface::class); |
| 98 | 98 | $response->method('getStatusCode')->willReturn(200); |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | $actualResult = $this->model->searchSettlements('киев', 1, 10); |
| 31 | 31 | $this->assertArrayHasKey('TotalCount', $actualResult); |
| 32 | 32 | $this->assertArrayHasKey('Addresses', $actualResult); |
| 33 | - if(empty($actualResult['TotalCount'])){ |
|
| 33 | + if (empty($actualResult['TotalCount'])) { |
|
| 34 | 34 | $this->markTestIncomplete('This test may seem working incorrectly, search result is empty.'); |
| 35 | 35 | } |
| 36 | 36 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | $actualResult = $this->model->searchSettlementStreets('Чернишевського', self::CITY_REF); |
| 32 | 32 | $this->assertArrayHasKey('TotalCount', $actualResult); |
| 33 | 33 | $this->assertArrayHasKey('Addresses', $actualResult); |
| 34 | - if(empty($actualResult['TotalCount'])){ |
|
| 34 | + if (empty($actualResult['TotalCount'])) { |
|
| 35 | 35 | $this->markTestIncomplete('This test may seem working incorrectly, search result is empty.'); |
| 36 | 36 | } |
| 37 | 37 | } |