diff --git a/tests/Unit/Support/DefaultTenancyTest.php b/tests/Unit/Support/DefaultTenancyTest.php index a0cfc51..f152494 100644 --- a/tests/Unit/Support/DefaultTenancyTest.php +++ b/tests/Unit/Support/DefaultTenancyTest.php @@ -3,6 +3,7 @@ namespace Sprout\Tests\Unit\Support; +use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Event; use PHPUnit\Framework\Attributes\Test; use Sprout\Events\TenantIdentified; @@ -17,6 +18,8 @@ class DefaultTenancyTest extends UnitTestCase { + use RefreshDatabase; + protected function defineEnvironment($app): void { tap($app['config'], static function ($config) { diff --git a/tests/Unit/Support/ResolutionHelperTest.php b/tests/Unit/Support/ResolutionHelperTest.php index 5385696..91875b5 100644 --- a/tests/Unit/Support/ResolutionHelperTest.php +++ b/tests/Unit/Support/ResolutionHelperTest.php @@ -3,6 +3,7 @@ namespace Sprout\Tests\Unit\Support; +use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Http\Request; use Illuminate\Routing\Route; use Mockery\MockInterface; @@ -19,6 +20,8 @@ class ResolutionHelperTest extends UnitTestCase { + use RefreshDatabase; + protected function defineEnvironment($app): void { tap($app['config'], static function ($config) {