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 7bfc595

Browse filesBrowse files
minor symfony#60177 [Form] skip test if the installed ICU version is too modern (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Form] skip test if the installed ICU version is too modern | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 201bafc skip test if the installed ICU version is too modern
2 parents 0ddda13 + 201bafc commit 7bfc595
Copy full SHA for 7bfc595

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\Component\Form\Extension\Core\DataTransformer\BaseDateTimeTransformer;
1616
use Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeToLocalizedStringTransformer;
1717
use Symfony\Component\Form\Tests\Extension\Core\DataTransformer\Traits\DateTimeEqualsTrait;
18+
use Symfony\Component\Intl\Intl;
1819
use Symfony\Component\Intl\Util\IntlTestHelper;
1920

2021
class DateTimeToLocalizedStringTransformerTest extends BaseDateTimeTransformerTestCase
@@ -236,6 +237,10 @@ public function testReverseTransformFullTime()
236237

237238
public function testReverseTransformFromDifferentLocale()
238239
{
240+
if (version_compare(Intl::getIcuVersion(), '71.1', '>')) {
241+
$this->markTestSkipped('ICU version 71.1 or lower is required.');
242+
};
243+
239244
\Locale::setDefault('en_US');
240245

241246
$transformer = new DateTimeToLocalizedStringTransformer('UTC', 'UTC');

0 commit comments

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