You've already forked postfixadmin
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user