You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-10 16:02:58 +03:00
cleanup db after running
This commit is contained in:
@@ -11,6 +11,10 @@ class AliasHandlerTest extends \PHPUnit\Framework\TestCase {
|
|||||||
|
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
$_SESSION = [];
|
$_SESSION = [];
|
||||||
|
db_query('DELETE FROM alias');
|
||||||
|
db_query('DELETE FROM domain');
|
||||||
|
db_query('DELETE FROM domain_admins');
|
||||||
|
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user