Merge pull request #1087 from jim-parry/testfix/http

Fix expected exception message for ResponseTest
This commit is contained in:
Lonnie Ezell 2018-06-26 15:41:06 -05:00 committed by GitHub
commit d442db465f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}