Skip to content

Commit

Permalink
Change how we configure multi-site
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Apr 16, 2024
1 parent 62f8fa7 commit 995cafe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Localized/GenerateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Filesystem\Filesystem;
use Statamic\Facades\Config;
use Statamic\Facades\Site;
use Tests\Concerns\RunsGeneratorCommand;
use Tests\TestCase;

Expand All @@ -18,8 +19,9 @@ protected function getEnvironmentSetUp($app)
parent::getEnvironmentSetUp($app);

$app['config']->set('statamic.editions.pro', true);
$app['config']->set('statamic.system.multisite', true);

$app['config']->set('statamic.sites.sites', [
Site::setSites([
'default' => [
'name' => 'English',
'locale' => 'en_US',
Expand Down

0 comments on commit 995cafe

Please sign in to comment.