8000 [Form] Updated checks for the ICU version from 4.5+ to 4.7+ due to te… · symfony/symfony@ac77c5b · GitHub
[go: up one dir, main page]

Skip to content

Commit ac77c5b

Browse files
committed
[Form] Updated checks for the ICU version from 4.5+ to 4.7+ due to test failures with ICU 4.6
1 parent 6831a3d commit ac77c5b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ public function testReverseTransformWithGrouping()
9898

9999
public function testDecimalSeparatorMayBeDotIfGroupingSeparatorIsNotDot()
100100
{
101-
if ($this->isLowerThanIcuVersion('4.5')) {
102-
$this->markTestSkipped('Please upgrade ICU version to 4.5+');
101+
if ($this->isLowerThanIcuVersion('4.7')) {
102+
$this->markTestSkipped('Please upgrade ICU version to 4.7+');
103103
}
104104

105105
\Locale::setDefault('fr');
@@ -119,8 +119,8 @@ public function testDecimalSeparatorMayBeDotIfGroupingSeparatorIsNotDot()
119119
*/
120120
public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDot()
121121
{
122-
if ($this->isLowerThanIcuVersion('4.5')) {
123-
$this->markTestSkipped('Please upgrade ICU version to 4.5+');
122+
if ($this->isLowerThanIcuVersion('4.7')) {
123+
$this->markTestSkipped('Please upgrade ICU version to 4.7+');
124124
}
125125

126126
$transformer = new NumberToLocalizedStringTransformer(null, true);
@@ -133,8 +133,8 @@ public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDot()
133133
*/
134134
public function testDecimalSeparatorMayNotBeDotIfGroupingSeparatorIsDot_noGroupSep()
135135
{
136-
if ($this->isLowerThanIcuVersion('4.5')) {
137-
$this->markTestSkipped('Please upgrade ICU version to 4.5+');
136+
if ($this->isLowerThanIcuVersion('4.7')) {
137+
$this->markTestSkipped('Please upgrade ICU version to 4.7+');
138138
}
139139

140140
$transformer = new NumberToLocalizedStringTransformer(nu F5C4 ll, true);
@@ -153,8 +153,8 @@ public function testDecimalSeparatorMayBeDotIfGroupingSeparatorIsDotButNoGroupin
153153

154154
public function testDecimalSeparatorMayBeCommaIfGroupingSeparatorIsNotComma()
155155
{
156-
if ($this->isLowerThanIcuVersion('4.5')) {
157-
$this->markTestSkipped('Please upgrade ICU version to 4.5+');
156+
if ($this->isLowerThanIcuVersion('4.7')) {
157+
$this->markTestSkipped('Please upgrade ICU version to 4.7+');
158158
}
159159

160160
\Locale::setDefault('ak');
@@ -174,8 +174,8 @@ public function testDecimalSeparatorMayBeCommaIfGroupingSeparatorIsNotComma()
174174
*/
175175
public function testDecimalSeparatorMayNotBeCommaIfGroupingSeparatorIsComma()
176176
{
177-
if ($this->isLowerThanIcuVersion('4.5')) {
178-
$this->markTestSkipped('Please upgrade ICU version to 4.5+');
177+
if ($this->isLowerThanIcuVersion('4.7')) {
178+
$this->markTestSkipped('Please upgrade ICU version to 4.7+');
179179
}
180180

181181
\Locale::setDefault('en');
@@ -189,8 +189,8 @@ public function testDecimalSeparatorMayNotBeCommaIfGroupingSeparatorIsComma()
189189
*/
190190
public function testDecimalSeparatorMayNotBeCommaIfGroupingSeparatorIsComma_noGroupSep()
191191
{
192-
if ($this->isLowerThanIcuVersion('4.5')) {
193-
$this->markTestSkipped('Please upgrade ICU version to 4.5+');
192+
if ($this->isLowerThanIcuVersion('4.7')) {
193+
$this->markTestSkipped('Please upgrade ICU version to 4.7+');
194194
}
195195

196196
\Locale::setDefault('en');

0 commit comments

Comments
 (0)
0