Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e3e3d5f

Browse filesBrowse files
committed
Merge branch '6.3' into 6.4
* 6.3: skip tests that do not work with ICU 71.1
2 parents d820d50 + 37d0e25 commit e3e3d5f
Copy full SHA for e3e3d5f

File tree

1 file changed

+21
-0
lines changed
Filter options

1 file changed

+21
-0
lines changed

‎src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\Component\Form\ChoiceList\View\ChoiceView;
1616
use Symfony\Component\Form\FormError;
1717
use Symfony\Component\Form\FormInterface;
18+
use Symfony\Component\Intl\Intl;
1819
use Symfony\Component\Intl\Util\IntlTestHelper;
1920
use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException;
2021

@@ -94,6 +95,10 @@ public function testSubmitFromSingleTextDateTime()
9495
// we test against "de_DE", so we need the full implementation
9596
IntlTestHelper::requireFullIntl($this, false);
9697

98+
if ('71.1' === Intl::getIcuVersion()) {
99+
$this->markTestSkipped('Skipping test due to a bug in ICU 71.1.');
100+
}
101+
97102
\Locale::setDefault('de_DE');
98103

99104
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -116,6 +121,10 @@ public function testSubmitFromSingleTextDateTimeImmutable()
116121
// we test against "de_DE", so we need the full implementation
117122
IntlTestHelper::requireFullIntl($this, false);
118123

124+
if ('71.1' === Intl::getIcuVersion()) {
125+
$this->markTestSkipped('Skipping test due to a bug in ICU 71.1.');
126+
}
127+
119128
\Locale::setDefault('de_DE');
120129

121130
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -139,6 +148,10 @@ public function testSubmitFromSingleTextString()
139148
// we test against "de_DE", so we need the full implementation
140149
IntlTestHelper::requireFullIntl($this, false);
141150

151+
if ('71.1' === Intl::getIcuVersion()) {
152+
$this->markTestSkipped('Skipping test due to a bug in ICU 71.1.');
153+
}
154+
142155
\Locale::setDefault('de_DE');
143156

144157
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -161,6 +174,10 @@ public function testSubmitFromSingleTextTimestamp()
161174
// we test against "de_DE", so we need the full implementation
162175
IntlTestHelper::requireFullIntl($this, false);
163176

177+
if ('71.1' === Intl::getIcuVersion()) {
178+
$this->markTestSkipped('Skipping test due to a bug in ICU 71.1.');
179+
}
180+
164181
\Locale::setDefault('de_DE');
165182

166183
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -185,6 +202,10 @@ public function testSubmitFromSingleTextRaw()
185202
// we test against "de_DE", so we need the full implementation
186203
IntlTestHelper::requireFullIntl($this, false);
187204

205+
if ('71.1' === Intl::getIcuVersion()) {
206+
$this->markTestSkipped('Skipping test due to a bug in ICU 71.1.');
207+
}
208+
188209
\Locale::setDefault('de_DE');
189210

190211
$form = $this->factory->create(static::TESTED_TYPE, null, [

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.