Skip to content

Commit

Permalink
minor #57966 [Form] skip tests requiring the intl extension if it's n…
Browse files Browse the repository at this point in the history
…ot installed (xabbuh)

This PR was merged into the 5.4 branch.

Discussion
----------

[Form] skip tests requiring the intl extension if it's not installed

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

Commits
-------

141cb8765f skip tests requiring the intl extension if it's not installed
  • Loading branch information
nicolas-grekas committed Aug 12, 2024
2 parents ea981b0 + 0b58985 commit 10fd29d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,8 @@ public function testReverseTransformSmallInt()
*/
public function testReverseTransformENotation($output, $input)
{
IntlTestHelper::requireFullIntl($this);

\Locale::setDefault('en');

$transformer = new NumberToLocalizedStringTransformer();
Expand Down

0 comments on commit 10fd29d

Please sign in to comment.