From 01b4d6c587a61c76e46738ba2615c0d35ce622c7 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Mon, 2 Mar 2020 09:55:35 +0000 Subject: [PATCH] cleanup db after running --- tests/AliasHandlerTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/AliasHandlerTest.php b/tests/AliasHandlerTest.php index 4e9af1c3..76d3df8a 100644 --- a/tests/AliasHandlerTest.php +++ b/tests/AliasHandlerTest.php @@ -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(); }