Skip to content

Commit 8f545c1

Browse files
committed
Ensure empty strings are never a valid currency code
1 parent 636906f commit 8f545c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/Rules/CurrencyCodeTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function providerForInvalidInput(): array
4646
$rule = new CurrencyCode();
4747

4848
return [
49+
[$rule, ''],
4950
[$rule, 'BTC'],
5051
[$rule, 'GGP'],
5152
[$rule, 'USA'],

0 commit comments

Comments
 (0)