mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #1087 from jim-parry/testfix/http
Fix expected exception message for ResponseTest
This commit is contained in:
commit
d442db465f
@ -57,7 +57,7 @@ class ResponseTest extends \CIUnitTestCase
|
||||
$response = new Response(new App());
|
||||
|
||||
$this->expectException(HTTPException::class);
|
||||
$this->expectExceptionMessage('Unknown HTTP status code provided with no message');
|
||||
$this->expectExceptionMessage(lang('HTTP.unknownStatusCode', [115]));
|
||||
$response->setStatusCode(115);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user