mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-22 04:26:02 +03:00
Fix mismatch
This commit is contained in:
parent
4a2a4fe4a5
commit
7b674dd2ca
@ -56,8 +56,8 @@ class HttpClientExceptionTest extends MailgunTestCase
|
||||
|
||||
public function testForbiddenRequestGetMessage()
|
||||
{
|
||||
$response = new Response(400, ['Content-Type' => 'text/html'], '<html><body>Forbidden</body></html>');
|
||||
$exception = HttpClientException::badRequest($response);
|
||||
$response = new Response(403, ['Content-Type' => 'text/html'], '<html><body>Forbidden</body></html>');
|
||||
$exception = HttpClientException::forbidden($response);
|
||||
$this->assertStringEndsWith('<html><body>Forbidden</body></html>', $exception->getMessage());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user