Skip to content

Commit

Permalink
Fix tests for Laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
bastien-phi committed Mar 22, 2023
1 parent a065d40 commit f2224d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Unit/TestFormRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function theFormRequestIsInvalid(): void
])
->assertFails([
'name' => 'The name field is required.',
'email' => 'The email field must be a valid email address.',
'email' => 'must be a valid email address.',
]);
}

Expand All @@ -103,8 +103,8 @@ public function theFormRequestIsInvalidWithArrayOfMessages(): void
])
->assertFails([
'email' => [
'The email field must be a string.',
'The email field must be a valid email address.',
'must be a string.',
'must be a valid email address.',
],
]);
}
Expand Down

0 comments on commit f2224d5

Please sign in to comment.