From ba00fa17049888747d6e7ba1b99126c503ff469e Mon Sep 17 00:00:00 2001 From: Patrick O'Meara Date: Sat, 26 Oct 2024 10:26:34 +1100 Subject: [PATCH] Assert Message --- tests/Integration/Http/ResourceTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Integration/Http/ResourceTest.php b/tests/Integration/Http/ResourceTest.php index 8b566de55d8d..a0ec135b26b7 100644 --- a/tests/Integration/Http/ResourceTest.php +++ b/tests/Integration/Http/ResourceTest.php @@ -1507,6 +1507,7 @@ public function testPostTooLargeException() $post->handle($request, fn () => null); $this->expectException(PostTooLargeException::class); + $this->expectExceptionMessage('The POST data is too large.'); $request = new Request(server: ['CONTENT_LENGTH' => '2147483640']); $post = new ValidatePostSize;