From 0b589850148240bb0d5647284e5cc1538f30e930 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 9 Aug 2024 16:59:37 +0200 Subject: [PATCH] skip tests requiring the intl extension if it's not installed --- .../DataTransformer/NumberToLocalizedStringTransformerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php b/Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php index 47b97ce53..f5246e222 100644 --- a/Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php +++ b/Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php @@ -638,6 +638,8 @@ public function testReverseTransformSmallInt() */ public function testReverseTransformENotation($output, $input) { + IntlTestHelper::requireFullIntl($this); + \Locale::setDefault('en'); $transformer = new NumberToLocalizedStringTransformer();