Skip to content

Commit

Permalink
Ensure empty strings are never a valid currency code
Browse files Browse the repository at this point in the history
  • Loading branch information
alganet committed Feb 20, 2023
1 parent 636906f commit 8f545c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/Rules/CurrencyCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function providerForInvalidInput(): array
$rule = new CurrencyCode();

return [
[$rule, ''],
[$rule, 'BTC'],
[$rule, 'GGP'],
[$rule, 'USA'],
Expand Down

0 comments on commit 8f545c1

Please sign in to comment.