Fix i18n available locales error

For some reason the locales defined in config/environment/test.rb are `en,es`, but in the used application.yml they were `en,es,en-GB`. This seems to trigger errors in the test environment ("en-GB is not a valid locale") if the two lists don't match..?
This commit is contained in:
Matt-Yorkley
2019-12-20 12:50:47 +01:00
committed by Luis Ramos
parent 5603b70379
commit 6eef2555f1

View File

@@ -13,7 +13,7 @@ DEFAULT_COUNTRY_CODE: AU
# Locale for translation.
LOCALE: en
# For multilingual - ENV doesn't have array so pass it as string with commas
AVAILABLE_LOCALES: en,es,en-GB
AVAILABLE_LOCALES: en,es
# Spree zone.
CHECKOUT_ZONE: Australia
# Find currency codes at http://en.wikipedia.org/wiki/ISO_4217.