skip intl dependent tests if the extension is missing
This commit is contained in:
parent
5666a45a02
commit
71da904de0
@ -31,6 +31,9 @@ class IntegerTypeTest extends BaseTypeTest
|
|||||||
\Locale::setDefault($this->previousLocale);
|
\Locale::setDefault($this->previousLocale);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @requires extension intl
|
||||||
|
*/
|
||||||
public function testArabicLocale()
|
public function testArabicLocale()
|
||||||
{
|
{
|
||||||
\Locale::setDefault('ar');
|
\Locale::setDefault('ar');
|
||||||
@ -42,6 +45,9 @@ class IntegerTypeTest extends BaseTypeTest
|
|||||||
$this->assertSame('123456', $form->getViewData());
|
$this->assertSame('123456', $form->getViewData());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @requires extension intl
|
||||||
|
*/
|
||||||
public function testArabicLocaleNonHtml5()
|
public function testArabicLocaleNonHtml5()
|
||||||
{
|
{
|
||||||
\Locale::setDefault('ar');
|
\Locale::setDefault('ar');
|
||||||
|
Reference in New Issue
Block a user