Skip to content

Commit

Permalink
Merge pull request #161 from philipsorensen/feature/adds-ves-as-allow…
Browse files Browse the repository at this point in the history
…able-currency

Adds 'VES' as allowable currency. Already mentioned in testing.
  • Loading branch information
ash-jc-allen authored Sep 11, 2024
2 parents c7d52e1 + f085651 commit f1d1e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Classes/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ class Currency
'UYU',
'UZS',
'VEF',
'VES',
'VND',
'VUV',
'WST',
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Rules/ValidCurrencyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ final class ValidCurrencyTest extends TestCase
* @testWith ["GBP"]
* ["BYR"]
* ["BYN"]
* ["VES"]
*/
public function validator_returns_true_if_the_currency_is_valid(string $currency): void
{
Expand Down

0 comments on commit f1d1e40

Please sign in to comment.