(GH Actions) force default locale for test suite again.

This commit is contained in:
Buster Neece 2019-08-21 18:42:57 -05:00
parent f431ae7250
commit 047d44f1b0
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ class Customization
*/
protected function initLocale(?Request $request = null): ?string
{
if ($this->app_settings->isTesting()) {
return self::DEFAULT_LOCALE;
}
$supported_locales = $this->app_settings['locale']['supported'];
$try_locales = [];