Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Jan 21, 2025
1 parent 3b8acec commit d10f543
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Statamic\Facades\File;
use Statamic\Facades\Site;
use Statamic\Facades\YAML;
use Statamic\Providers\StatamicServiceProvider;
use Statamic\Testing\AddonTestCase;

abstract class TestCase extends AddonTestCase
Expand All @@ -18,16 +17,14 @@ protected function setUp(): void
{
parent::setUp();

File::put(resource_path('sites.yaml'), YAML::dump([
Site::setSites([
'default' => [
'name' => '{{ config:app:name }}',
'url' => '/',
'locale' => 'en_US',
'attributes' => [
'currency' => 'GBP',
],
'attributes' => ['currency' => 'GBP'],
],
]));
])->save();
}

protected function resolveApplicationConfiguration($app)
Expand Down

0 comments on commit d10f543

Please sign in to comment.