Skip to content

Commit c5d23da

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: skip tests that do not work with ICU 71.1 [DependencyInjection] Fix dumping containers with null-referenced services [Routing] Fix removing aliases pointing to removed route in RouteCollection::remove() [VarExporter] Fix lazy ghost trait when using nullsafe operator [Routing] Fix conflicting FQCN aliases with route name Fix legacy class palceholder definitions for static analysis
2 parents f62f968 + 10649ab commit c5d23da

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Tests/Extension/Core/Type/DateTypeTest.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\Component\Form\Exception\LogicException;
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

@@ -92,6 +93,10 @@ public function testSubmitFromSingleTextDateTime()
9293
// we test against "de_DE", so we need the full implementation
9394
IntlTestHelper::requireFullIntl($this, false);
9495

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

97102
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -114,6 +119,10 @@ public function testSubmitFromSingleTextDateTimeImmutable()
114119
// we test against "de_DE", so we need the full implementation
115120
IntlTestHelper::requireFullIntl($this, false);
116121

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

119128
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -137,6 +146,10 @@ public function testSubmitFromSingleTextString()
137146
// we test against "de_DE", so we need the full implementation
138147
IntlTestHelper::requireFullIntl($this, false);
139148

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

142155
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -159,6 +172,10 @@ public function testSubmitFromSingleTextTimestamp()
159172
// we test against "de_DE", so we need the full implementation
160173
IntlTestHelper::requireFullIntl($this, false);
161174

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

164181
$form = $this->factory->create(static::TESTED_TYPE, null, [
@@ -183,6 +200,10 @@ public function testSubmitFromSingleTextRaw()
183200
// we test against "de_DE", so we need the full implementation
184201
IntlTestHelper::requireFullIntl($this, false);
185202

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

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

0 commit comments

Comments
 (0)