Skip to content

Commit 1a5c89f

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into 4.3
Conflicts: tests/system/Commands/CreateDatabaseTest.php
2 parents fd5c156 + 98178a1 commit 1a5c89f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/system/Commands/CreateDatabaseTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ protected function setUp(): void
3636

3737
parent::setUp();
3838

39+
$this->dropDatabase();
40+
}
41+
42+
protected function tearDown(): void
43+
{
44+
parent::tearDown();
45+
46+
$this->dropDatabase();
47+
}
48+
49+
private function dropDatabase(): void
50+
{
3951
if ($this->connection instanceof SQLite3Connection) {
4052
$file = WRITEPATH . 'foobar.db';
4153
if (is_file($file)) {

0 commit comments

Comments
 (0)