Skip to content

Commit

Permalink
fix: compare locale arrays ordered
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmichaelwallace committed May 22, 2024
1 parent ed1ca7c commit e13da1f
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 @@ -74,7 +74,7 @@ public function testPartialCountriesConfigHasOnlySupportedCountriesAndLocales()

$countryCodes = array_keys($this->app->config->get('countries-partial'));

$this->assertEquals(CountryCode::all(), $countryCodes);
$this->assertEquals(asort(CountryCode::all()), asort($countryCodes));

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

0 comments on commit e13da1f

Please sign in to comment.