mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 05:18:40 +00:00
Remove sqlite database after test
This commit is contained in:
parent
b979761e8c
commit
64c9cda54e
|
|
@ -53,4 +53,11 @@ class SQLiteConnectionTest extends \PHPUnit\Framework\TestCase
|
||||||
unset($db['database']);
|
unset($db['database']);
|
||||||
$sqlite = new SQLiteConnection($db);
|
$sqlite = new SQLiteConnection($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static function tearDownAfterClass()
|
||||||
|
{
|
||||||
|
if (\file_exists($GLOBALS['CONFIG']['db']['core']['sqlite']['admin']['database'])) {
|
||||||
|
\unlink($GLOBALS['CONFIG']['db']['core']['sqlite']['admin']['database']);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user