diff --git a/tests/TestCase.php b/tests/TestCase.php index 38c41a4a..b25ade76 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -20,6 +20,7 @@ use DragonCode\Support\Facades\Filesystem\Directory; use Illuminate\Support\Facades\App; use Illuminate\Translation\TranslationServiceProvider; +use LaravelLang\Config\Enums\Name; use LaravelLang\Config\ServiceProvider as ConfigServiceProvider; use LaravelLang\JsonFallback\TranslationServiceProvider as FixedTranslationServiceProvider; use LaravelLang\LocaleList\Locale; @@ -83,11 +84,8 @@ protected function getEnvironmentSetUp($app): void /** @var \Illuminate\Config\Repository $config */ $config = $app['config']; - $config->set(\LaravelLang\Locales\Enums\Config::PublicKey() . '.inline', $this->inline); - $config->set( - \LaravelLang\Locales\Enums\Config::PublicKey() . '.smart_punctuation.enable', - $this->smartPunctuation - ); + $config->set(Name::Shared() . '.inline', $this->inline); + $config->set(Name::Shared() . '.smart_punctuation.enable', $this->smartPunctuation); $config->set('app.locale', $this->locale->value); $config->set('app.fallback_locale', $this->fallbackLocale->value);