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
147147 ]),
148148 json_encode ($ fields )
149149 );
150+
151+ $ this ->forge ->dropDatabase (WRITEPATH . 'database.db ' );
150152 }
151153}
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ protected function setUp(): void
4545 'database ' => 'database.db ' ,
4646 'DBDebug ' => true ,
4747 ];
48-
4948 $ this ->db = db_connect ($ config );
5049 $ this ->forge = Database::forge ($ config );
5150 }
@@ -100,5 +99,7 @@ public function testGetIndexData(): void
10099 $ this ->assertSame ($ expectedIndexes ['testuser_country ' ]->type , $ indexes ['testuser_country ' ]->type );
101100
102101 $ this ->forge ->dropTable ('testuser ' , true );
102+
103+ $ this ->forge ->dropDatabase (WRITEPATH . 'database.db ' );
103104 }
104105}
You can’t perform that action at this time.
0 commit comments