Skip to content

Commit 9a229e5

Browse files
committed
tests: update tests for new laravel exception handler behaviour
1 parent 96b204d commit 9a229e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Integration/ExceptionsTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function testRequestException(): void
364364
$expected = [
365365
'errors' => [
366366
[
367-
'detail' => 'Your request is badly formatted.',
367+
'detail' => 'Bad request.',
368368
'status' => '400',
369369
'title' => 'Bad Request',
370370
],
@@ -387,6 +387,7 @@ public function testRequestExceptionWithoutMessage(): void
387387
$expected = [
388388
'errors' => [
389389
[
390+
'detail' => 'Bad request.',
390391
'status' => '400',
391392
'title' => 'Bad Request',
392393
],

0 commit comments

Comments
 (0)