From 8996117b020a58ad69ec882452a6a71f15e8be72 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Fri, 26 Jan 2024 16:27:37 +0100 Subject: [PATCH] tests: change locale for test to 'en_US.UTF-8' --- tests/MoneyTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/MoneyTest.php b/tests/MoneyTest.php index 74aa993f..4244daca 100644 --- a/tests/MoneyTest.php +++ b/tests/MoneyTest.php @@ -99,11 +99,7 @@ public function itMultipliesTheAmount(int|string $multiplier, int $roundingMode, */ public function itMultipliesTheAmountWithLocaleThatUsesCommaSeparator(): void { - try { - $this->setLocale(LC_ALL, 'es_ES.utf8'); - } catch (\Throwable) { - $this->markTestSkipped('The locale es_ES.utf8 is not available.'); - } + $this->setLocale(LC_ALL, 'en_US.UTF-8'); $money = new Money(100, new Currency(self::CURRENCY)); $money = $money->multiply('0.1');