8000 Fix tests with ICU 57.1 · symfony/symfony@dba0702 · GitHub
[go: up one dir, main page]

Skip to content

Commit dba0702

Browse files
committed
Fix tests with ICU 57.1
1 parent 677d820 commit dba0702

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ public function testReverseTransformEmpty()
108108

109109
public function testReverseTransformWithGrouping()
110110
{
111-
// Since we test against "de_AT", we need the full implementation
111+
// Since we test against "de_DE", we need the full implementation
112112
IntlTestHelper::requireFullIntl($this, false);
113113

114-
\Locale::setDefault('de_AT');
114+
\Locale::setDefault('de_DE');
115115

116116
$transformer = new IntegerToLocalizedStringTransformer(null, true);
117117

src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public function testTransform($from, $to, $locale)
5454
public function provideTransformationsWithGrouping()
5555
{
5656
return array(
57-
array(1234.5, '1.234,5', 'de_AT'),
58-
array(12345.912, '12.345,912', 'de_AT'),
57+
array(1234.5, '1.234,5', 'de_DE'),
58+
array(12345.912, '12.345,912', 'de_DE'),
5959
array(1234.5, '1 234,5', 'fr'),
6060
array(1234.5, '1 234,5', 'ru'),
6161
array(1234.5, '1 234,5', 'fi'),
@@ -410,10 +410,10 @@ public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDot()
410410
*/
411411
public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDotWithNoGroupSep()
412412
{
413-
// Since we test against "de_AT", we need the full implementation
413+
// Since we test against "de_DE", we need the full implementation
414414
IntlTestHelper::requireFullIntl($this, false);
415415

416-
\Locale::setDefault('de_AT');
416+
\Locale::setDefault('de_DE');
417417

418418
$transformer = new NumberToLocalizedStringTransformer(null, true);
419419

0 commit comments

Comments
 (0)
0