minor #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
-------
71da904de0
skip intl dependent tests if the extension is missing
This commit is contained in:
commit
1a2729199f
|
@ -31,6 +31,9 @@ class IntegerTypeTest extends BaseTypeTest
|
|||
\Locale::setDefault($this->previousLocale);
|
||||
}
|
||||
|
||||
/**
|
||||
* @requires extension intl
|
||||
*/
|
||||
public function testArabicLocale()
|
||||
{
|
||||
\Locale::setDefault('ar');
|
||||
|
@ -42,6 +45,9 @@ class IntegerTypeTest extends BaseTypeTest
|
|||
$this->assertSame('123456', $form->getViewData());
|
||||
}
|
||||
|
||||
/**
|
||||
* @requires extension intl
|
||||
*/
|
||||
public function testArabicLocaleNonHtml5()
|
||||
{
|
||||
\Locale::setDefault('ar');
|
||||
|
|
Reference in New Issue