Skip to content

Commit ba3227a

Browse files
committed
fix.
1 parent d0543a4 commit ba3227a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/DbTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ protected function setUp(): void
1111
{
1212
parent::setUp();
1313
$this->loadMigrationsFrom($this->resourceFolder.'/Database/Migrations/');
14-
$this->loadLaravelMigrations(['--database' => 'mysql']);
14+
$this->loadLaravelMigrations(['--database' => env('DB_CONNECTION', 'mysql')]);
1515
}
1616

1717
protected function skipUnlessDatabase(string $engine): void

0 commit comments

Comments
 (0)