Compability with guzzlehttp/guzzle:^7.0
This commit is contained in:
parent
68df0e1f49
commit
1b75a04cf9
@ -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",
|
||||
|
@ -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'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user