File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
tests/system/Database/Live/SQLite3 Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -147,5 +147,7 @@ public function testGetFieldData(): void
147
147
]),
148
148
json_encode ($ fields )
149
149
);
150
+
151
+ $ this ->forge ->dropDatabase (WRITEPATH . 'database.db ' );
150
152
}
151
153
}
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ protected function setUp(): void
45
45
'database ' => 'database.db ' ,
46
46
'DBDebug ' => true ,
47
47
];
48
-
49
48
$ this ->db = db_connect ($ config );
50
49
$ this ->forge = Database::forge ($ config );
51
50
}
@@ -100,5 +99,7 @@ public function testGetIndexData(): void
100
99
$ this ->assertSame ($ expectedIndexes ['testuser_country ' ]->type , $ indexes ['testuser_country ' ]->type );
101
100
102
101
$ this ->forge ->dropTable ('testuser ' , true );
102
+
103
+ $ this ->forge ->dropDatabase (WRITEPATH . 'database.db ' );
103
104
}
104
105
}
You can’t perform that action at this time.
0 commit comments