You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove skipping of tests based on ICU data version whenever possible
Many tests being skipped based on the ICU data version don't actually
need it. They might be testing code paths not relying on Intl, or not
performing assertions on the values depending on the ICU data and so not
dependant on the exact ICU version being used.
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -170,9 +170,11 @@ public function testTransformWrapsIntlErrors()
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,16 @@ protected function setUp()
20
20
{
21
21
parent::setUp();
22
22
23
+
\Locale::setDefault('en');
24
+
}
25
+
26
+
publicfunctiontestReverseTransform()
27
+
{
23
28
// Since we test against "de_AT", we need the full implementation
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php
+59-7Lines changed: 59 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,7 @@ protected function setUp()
20
20
{
21
21
parent::setUp();
22
22
23
-
// Since we test against "de_AT", we need the full implementation
24
-
IntlTestHelper::requireFullIntl($this);
25
-
26
-
\Locale::setDefault('de_AT');
23
+
\Locale::setDefault('en');
27
24
}
28
25
29
26
publicfunctionprovideTransformations()
@@ -44,6 +41,9 @@ public function provideTransformations()
44
41
*/
45
42
publicfunctiontestTransform($from, $to, $locale)
46
43
{
44
+
// Since we test against other locales, we need the full implementation
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/PercentToLocalizedStringTransformerTest.php
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,7 @@ protected function setUp()
20
20
{
21
21
parent::setUp();
22
22
23
-
// Since we test against "de_AT", we need the full implementation
24
-
IntlTestHelper::requireFullIntl($this);
25
-
26
-
\Locale::setDefault('de_AT');
23
+
\Locale::setDefault('en');
27
24
}
28
25
29
26
publicfunctiontestTransform()
@@ -55,6 +52,11 @@ public function testTransformWithInteger()
55
52
56
53
publicfunctiontestTransformWithPrecision()
57
54
{
55
+
// Since we test against "de_AT", we need the full implementation
0 commit comments