Skip to content

Commit 42ff72d

Browse files
committed
Update TestCase.php
1 parent 84a6d1f commit 42ff72d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/TestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Binafy\LaravelUserMonitoring\Middlewares\VisitMonitoringMiddleware;
66
use Binafy\LaravelUserMonitoring\Providers\LaravelUserMonitoringServiceProvider;
77
use Illuminate\Encryption\Encrypter;
8+
use Illuminate\Support\Facades\Artisan;
89
use Illuminate\Support\Facades\Route;
910
use Tests\SetUp\Models\User;
1011

@@ -59,5 +60,7 @@ protected function setUp(): void
5960
Route::middleware([VisitMonitoringMiddleware::class, 'web'])->group(__DIR__ . '/SetUp/Routes/web_tests.php');
6061

6162
$this->loadMigrationsFrom(__DIR__.'/SetUp/Migrations');
63+
64+
Artisan::call('migrate');
6265
}
6366
}

0 commit comments

Comments
 (0)