1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00

cleanup db after running

This commit is contained in:
David Goodwin
2020-03-02 09:55:35 +00:00
parent 30f97c97ee
commit 01b4d6c587

View File

@@ -11,6 +11,10 @@ class AliasHandlerTest extends \PHPUnit\Framework\TestCase {
public function tearDown() {
$_SESSION = [];
db_query('DELETE FROM alias');
db_query('DELETE FROM domain');
db_query('DELETE FROM domain_admins');
parent::tearDown();
}