Skip to content

Commit d442db4

Browse files
authored
Merge pull request #1087 from jim-parry/testfix/http
Fix expected exception message for ResponseTest
2 parents 8d1162a + 674c5e7 commit d442db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/HTTP/ResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function testRequiresMessageWithUnknownStatusCode()
5757
$response = new Response(new App());
5858

5959
$this->expectException(HTTPException::class);
60-
$this->expectExceptionMessage('Unknown HTTP status code provided with no message');
60+
$this->expectExceptionMessage(lang('HTTP.unknownStatusCode', [115]));
6161
$response->setStatusCode(115);
6262
}
6363

0 commit comments

Comments
 (0)