10000 minor #40606 [Form] skip intl dependent tests if the extension is mis… · grasmash/symfony@1a27291 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a27291

Browse files
committed
minor symfony#40606 [Form] skip intl dependent tests if the extension is missing (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Form] skip intl dependent tests if the extension is missing | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 71da904 skip intl dependent tests if the extension is missing
2 parents 5666a45 + 71da904 commit 1a27291

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/Type/IntegerTypeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ protected function tearDown(): void
3131
\Locale::setDefault($this->previousLocale);
3232
}
3333

34+
/**
35+
* @requires extension intl
36+
*/
3437
public function testArabicLocale()
3538
{
3639
\Locale::setDefault('ar');
@@ -42,6 +45,9 @@ public function testArabicLocale()
4245
$this->assertSame('123456', $form->getViewData());
4346
}
4447

48+
/**
49+
* @requires extension intl
50+
*/
4551
public function testArabicLocaleNonHtml5()
4652
{
4753
\Locale::setDefault('ar');

0 commit comments

Comments
 (0)
0