diff --git a/tests/TestCase.php b/tests/TestCase.php index 2932d4a69..e84964010 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,10 +1,40 @@ make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); + return $app; + } + + + public function setUp() : void + { + parent::setUp(); + \Artisan::call('migrate:fresh'); + $this->seed(); + } + + public function tearDown() : void + { + //Artisan::call('migrate:reset'); + parent::tearDown(); + } +} \ No newline at end of file