Skip to content

Commit

Permalink
Fix error messages for strict values
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurens Bultynck committed Aug 31, 2021
1 parent fe502c9 commit c4d70e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/LeagueSchemaValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,22 +149,22 @@ public function invalidData(): array
'Minimum value' => [
'strict_limit',
0,
'Value must be greater than 1.',
'Value must be greater or equal to 1.',
],
'Maximum value' => [
'strict_limit',
50,
'Value must be less than 25.',
'Value must be less or equal to 25.',
],
'Exclusive limit minimum value' => [
'limit',
0,
'Value must be greater or equal to 1.',
'Value must be greater than 1.',
],
'Exclusive limit maximum value' => [
'limit',
50,
'Value must be less or equal to 25.',
'Value must be less than 25.',
],
'Min length' => [
'length',
Expand Down

0 comments on commit c4d70e9

Please sign in to comment.