Skip to content

Commit

Permalink
Assert Message
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickomeara committed Oct 25, 2024
1 parent 4bb248a commit ba00fa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Integration/Http/ResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba00fa1

Please sign in to comment.