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