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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy