Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit f5b8bc4

Browse files
committed
fixed the tests
1 parent ca329b2 commit f5b8bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Guzzle6HttpAdapterExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testGetException()
3232
$this->assertInstanceOf('Http\Client\Exception\NetworkException', $outputException, "Guzzle's ConnectException should be converted to a NetworkException");
3333

3434
$outputException = $method->invoke($adapter, new GuzzleExceptions\TooManyRedirectsException('foo', $request));
35-
$this->assertInstanceOf('Http\Client\Exception\NetworkException', $outputException, "Guzzle's TooManyRedirectsException should be converted to a NetworkException");
35+
$this->assertInstanceOf('Http\Client\Exception\RequestException', $outputException, "Guzzle's TooManyRedirectsException should be converted to a RequestException");
3636

3737
$outputException = $method->invoke($adapter, new GuzzleExceptions\RequestException('foo', $request, $response));
3838
$this->assertInstanceOf('Http\Client\Exception\HttpException', $outputException, "Guzzle's RequestException should be converted to a HttpException");

0 commit comments

Comments
 (0)