Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 9f192b6

Browse files
committed
Merge pull request #91 from remicollet/issue-icu
fix tests for recent ICU version
2 parents 9483367 + 48c6362 commit 9f192b6

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

test/Validator/IsFloatTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function validationFailureProvider()
167167
'ar' => ['10.1', '66notflot.6'],
168168
'ru' => ['10.1', '66notflot.6', '2,000.00', '2 00'],
169169
'en' => ['10,1', '66notflot.6', '2.000,00', '2 000', '2,00'],
170-
'fr-CH' => ['10,1', '66notflot.6', '2,000.00', "2'00"]
170+
'fr-CH' => ['66notflot.6', '2,000.00', "2'00"]
171171
];
172172

173173
//Loop locales and examples for a more thorough set of "true" test data

test/View/Helper/CurrencyFormatTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,13 @@ public function currencyProvider()
4343
{
4444
return [
4545
// locale currency show decimals number currencyPattern expected
46-
['de_AT', 'EUR', true, 1234.56, null, '€ 1.234,56'],
47-
['de_AT', 'EUR', true, 0.123, null, '€ 0,12'],
48-
['de_AT', 'EUR', true, 0.123, '#,##0.00 ¤', '0,12 €'],
49-
['de_AT', 'EUR', true, -0.123, '#,##0.00 ¤; ¤ - #,##0.00', ' € - 0,12'],
50-
['de_AT', 'EUR', true, -0.123, '¤ #,##0.00; - ¤ #,##0.00', '- € 0,12'],
5146
['de_DE', 'EUR', true, 1234567.891234567890000, null, '1.234.567,89 €'],
5247
['de_DE', 'RUR', true, 1234567.891234567890000, null, '1.234.567,89 RUR'],
5348
['ru_RU', 'EUR', true, 1234567.891234567890000, null, '1 234 567,89 €'],
5449
['ru_RU', 'RUR', true, 1234567.891234567890000, null, '1 234 567,89 р.'],
5550
['en_US', 'EUR', true, 1234567.891234567890000, null, '€1,234,567.89'],
5651
['en_US', 'RUR', true, 1234567.891234567890000, null, 'RUR1,234,567.89'],
5752
['en_US', 'USD', true, 1234567.891234567890000, null, '$1,234,567.89'],
58-
['de_AT', 'EUR', false, 1234.56, null, '€ 1.235'],
59-
['de_AT', 'EUR', false, 0.123, null, '€ 0'],
6053
['de_DE', 'EUR', false, 1234567.891234567890000, null, '1.234.568 €'],
6154
['de_DE', 'RUB', false, 1234567.891234567890000, null, '1.234.567,89 RUB'],
6255
//array('ru_RU', 'EUR', false, 1234567.891234567890000, null, '1 234 568 €'),

0 commit comments

Comments
 (0)