Skip to content

Commit

Permalink
tests: change locale for test to 'en_US.UTF-8'
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Jan 26, 2024
1 parent 5d1f742 commit 8996117
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/MoneyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 8996117

Please sign in to comment.