Skip to content

Commit 995cafe

Browse files
committed
Change how we configure multi-site
1 parent 62f8fa7 commit 995cafe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Localized/GenerateTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Illuminate\Filesystem\Filesystem;
66
use Statamic\Facades\Config;
7+
use Statamic\Facades\Site;
78
use Tests\Concerns\RunsGeneratorCommand;
89
use Tests\TestCase;
910

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

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

22-
$app['config']->set('statamic.sites.sites', [
24+
Site::setSites([
2325
'default' => [
2426
'name' => 'English',
2527
'locale' => 'en_US',

0 commit comments

Comments
 (0)