1
0
mirror of synced 2024-11-23 05:26:06 +03:00

Compability with guzzlehttp/guzzle:^7.0

This commit is contained in:
Ilyas Salikhov 2024-01-27 19:37:04 +03:00
parent 68df0e1f49
commit 1b75a04cf9
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
"php": ">=7.2",
"ext-curl": "*",
"ext-json": "*",
"guzzlehttp/guzzle": "~6.3",
"guzzlehttp/guzzle": "~6.3|^7.0",
"jms/serializer": "^0.12|^1.0|^2.0|^3.0",
"symfony/validator": "~2.8|~3.0|~4.0|^5.0",
"doctrine/cache": "~1.6",

View File

@ -143,7 +143,7 @@ class AtolOnlineApiTest extends TestCase
*/
public function testGetTokenBadResponse(): void
{
$api = $this->getApi([new BadResponseException('', new Request('GET', 'test'))]);
$api = $this->getApi([new BadResponseException('', new Request('GET', 'test'), new Response())]);
$this->assertFalse($this->callMethod($api, 'getToken'));
}