From 37be5d6fac5bb66594c36331447b1c74228ed04a Mon Sep 17 00:00:00 2001 From: Milwad Date: Thu, 28 Mar 2024 21:31:31 +0330 Subject: [PATCH] Update TestCase.php --- tests/TestCase.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index bea3c86..ab53b35 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,6 +2,7 @@ namespace Milwad\LaravelAttributes\Tests; +use Illuminate\Support\Facades\Artisan; use Milwad\LaravelAttributes\LaravelAttributesServiceProvider; abstract class TestCase extends \Orchestra\Testbench\TestCase @@ -37,6 +38,9 @@ protected function getEnvironmentSetUp($app) protected function setUp(): void { parent::setUp(); + $this->loadMigrationsFrom(__DIR__.'/SetUp/migrations'); + + Artisan::call('migrate'); } }