aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/notification/base.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php
index ab92f88262..3560ac6fcd 100644
--- a/tests/notification/base.php
+++ b/tests/notification/base.php
@@ -96,6 +96,15 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$this->notifications->set_var('notification_types', $types);
}
+ protected function tearDown()
+ {
+ $this->db->sql_query('DELETE FROM phpbb_notification_types');
+ $this->db->sql_query('DELETE FROM phpbb_notifications');
+ $this->db->sql_query('DELETE FROM phpbb_user_notifications');
+
+ parent::tearDown();
+ }
+
protected function build_type($type)
{
global $phpbb_root_path, $phpEx;