mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/11744] Empty notifications tables after testing them
PHPBB3-11744
This commit is contained in:
@@ -96,6 +96,15 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
|
|||||||
$this->notifications->set_var('notification_types', $types);
|
$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)
|
protected function build_type($type)
|
||||||
{
|
{
|
||||||
global $phpbb_root_path, $phpEx;
|
global $phpbb_root_path, $phpEx;
|
||||||
|
Reference in New Issue
Block a user