mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-04-07 11:07:01 +00:00
Fix mismatch
This commit is contained in:
parent
4a2a4fe4a5
commit
7b674dd2ca
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue