Skip to content

Commit 81440e7

Browse files
committed
Use en_ca Rather than en_us
Installing language-pack-en does not install en_US????
1 parent f4c576b commit 81440e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpSpreadsheetTests/Shared/StringHelperLocaleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public function testCurrency(): void
3737
}
3838
$result = StringHelper::getCurrencyCode();
3939
self::assertSame('', $result);
40-
if (!setlocale(LC_ALL, 'en_us')) {
41-
self::markTestSkipped('Unable to set US locale for testing.');
40+
if (!setlocale(LC_ALL, 'en_ca', 'en_CA')) {
41+
self::markTestSkipped('Unable to set en_ca locale for testing.');
4242
}
4343
$result = StringHelper::getCurrencyCode();
4444
self::assertSame('', $result, 'result persists despite locale change');

0 commit comments

Comments
 (0)