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 f7dca56 commit e1750f2Copy full SHA for e1750f2
tests/Migrations/MigrationTest.php
@@ -4,6 +4,7 @@
4
5
namespace Tests\Migrations;
6
7
+use Doctrine\DBAL\Driver\PDOSqlite\Driver;
8
use DragonCode\LaravelActions\Constants\Names;
9
use Illuminate\Support\Facades\DB;
10
use Illuminate\Support\Facades\Schema;
@@ -13,6 +14,12 @@ class MigrationTest extends TestCase
13
14
{
15
public function testRunMigrationAfterInstall(): void
16
17
+ if (! class_exists(Driver::class)) {
18
+ $this->assertTrue(true);
19
+
20
+ return;
21
+ }
22
23
DB::table('migrations')->truncate();
24
25
Schema::connection($this->database)->dropIfExists($this->table);
0 commit comments