Skip to content

Commit 1cd7a4e

Browse files
authored
test: allow deletion of the SQLite3 database (#10696)
1 parent 2ce90cf commit 1cd7a4e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/system/Database/Migrations/MigrationRunnerTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,8 @@ public function testMigrationUsesSameConnectionAsMigrationRunner(): void
472472
$runner->latest();
473473

474474
$tables = $database->listTables();
475+
$database->close();
476+
475477
$this->assertCount(2, $tables);
476478
$this->assertSame('migrations', $tables[0]);
477479
$this->assertSame('foo', $tables[1]);

0 commit comments

Comments
 (0)