diff --git a/tests/TestCase.php b/tests/TestCase.php index 50ae4a3..5d449a5 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -15,10 +15,6 @@ protected function setUp(): void $this->withFactories(__DIR__ . '/factories'); - // Call run() method on new versions of Laravel - $migrate = $this->artisan('migrate', ['--database' => 'testing']); - if (!is_int($migrate)) { - $migrate->run(); - } + $this->artisan('migrate', ['--database' => 'testing'])->run(); } }