Skip to content

Commit

Permalink
fix LocaleTest
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Nov 19, 2024
1 parent 24579a9 commit 8fb9c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/classes/i18n/LocaleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function testGetLocalesWithCountryName()
'pt_PT' => 'Portuguese (Portugal)',
'de' => 'German'
];
$locales = array_map(fn (LocaleMetadata $locale) => $locale->getDisplayName(null, true), Locale::getLocales());
$locales = array_map(fn (LocaleMetadata $locale) => $locale->getDisplayName('en', true), Locale::getLocales());
self::assertEquals($expectedLocalesWithCountry, $locales);
}

Expand Down

0 comments on commit 8fb9c58

Please sign in to comment.