Skip to content

Commit 4a20dc2

Browse files
committed
test(Database): apply PR review suggestions for MigrationRunnerTest
1 parent a7c3210 commit 4a20dc2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ protected function tearDown(): void
6969
{
7070
parent::tearDown();
7171

72-
$this->resetTables();
72+
// To delete data with `$this->regressDatabase()`, set it true.
73+
$this->migrate = true;
74+
$this->regressDatabase();
7375
}
7476

7577
public function testLoadsDefaultDatabaseWhenNoneSpecified(): void

0 commit comments

Comments
 (0)