Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Jun 2, 2024
1 parent bc64fd0 commit 09bcf3b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 09bcf3b

Please sign in to comment.