We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eccd98e commit 17e1df6Copy full SHA for 17e1df6
tests/DbTestCase.php
@@ -13,4 +13,11 @@ protected function setUp(): void
13
$this->loadMigrationsFrom($this->resourceFolder.'/Database/Migrations/');
14
$this->loadLaravelMigrations(['--database' => 'mysql']);
15
}
16
+
17
+ protected function skipUnlessDatabase(string $engine): void
18
+ {
19
+ if (env('DB_CONNECTION') !== $engine) {
20
+ $this->markTestSkipped("Skipped: Not running on $engine.");
21
+ }
22
23
0 commit comments