diff --git a/phpunit.xml b/phpunit.xml index 1083140..d722776 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -9,4 +9,7 @@ tests/Unit + + + diff --git a/tests/TestCase.php b/tests/TestCase.php index e4d7c47..50ce4c8 100755 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,6 +4,7 @@ use DirectoryIterator; use Exception; +use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Process; use JackedPhp\JackedServer\Services\Server; @@ -13,6 +14,8 @@ class TestCase extends BaseTestCase { + use RefreshDatabase; + protected $loadEnvironmentVariables = false; public string $laravelPath;