Skip to content

Commit

Permalink
fix: correct locale expected order for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmichaelwallace committed May 22, 2024
1 parent 9c37a4f commit b4643a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/Providers/CountriesServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function testPartialCountriesConfigHasOnlySupportedCountriesAndLocales()
$this->assertEquals(CountryCode::all(), $countryCodes);

collect($this->app->config->get('countries-partial'))->each(function ($country) {
$supportedLocales = ['en', 'no', 'ie', 'fr', 'es'];
$supportedLocales = ['es', 'fr', 'en', 'ie', 'no'];

if (isset($country['locale'])) {
$this->assertTrue(in_array($country['locale'], $supportedLocales));
Expand Down

0 comments on commit b4643a9

Please sign in to comment.