Skip to content

Commit 71da904

Browse files
committed
skip intl dependent tests if the extension is missing
1 parent 5666a45 commit 71da904

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)