Skip to content

Commit cf0ef79

Browse files
committed
Update ApiFunctionalTest to use HttpClient
1 parent c0d9223 commit cf0ef79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ApiFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
namespace Ovh\tests;
2929

30-
use GuzzleHttp\Client;
30+
use Http\Adapter\Guzzle6\Client;
3131
use Ovh\Api;
3232

3333
/**
@@ -238,7 +238,7 @@ public function testIfRequestWithoutAuthenticationWorks()
238238
*/
239239
public function testApiGetWithParameters()
240240
{
241-
$this->setExpectedException('\\GuzzleHttp\\Exception\\ClientException', '400');
241+
$this->setExpectedException('Http\Client\Exception\HttpException', '400');
242242

243243
$this->api->get('/me/accessRestriction/ip', ['foo' => 'bar']);
244244
}

0 commit comments

Comments
 (0)