aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/notifications_notification_manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mock/notifications_notification_manager.php')
-rw-r--r--tests/mock/notifications_notification_manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mock/notifications_notification_manager.php b/tests/mock/notifications_notification_manager.php
index 81f24e67c0..c995afb9ab 100644
--- a/tests/mock/notifications_notification_manager.php
+++ b/tests/mock/notifications_notification_manager.php
@@ -44,7 +44,7 @@ class phpbb_mock_notifications_notification_manager extends phpbb_notification_m
{
$item_type = 'phpbb_notification_type_' . $item_type;
- $item = new $item_type($this->user_loader, $this->db, $this->cache, $this->user, $this->auth, $this->config, $this->phpbb_root_path, $this->php_ext, $this->notifications_table, $this->user_notifications_table);
+ $item = new $item_type($this->user_loader, $this->db, $this->cache, $this->user, $this->auth, $this->config, $this->phpbb_root_path, $this->php_ext, $this->notification_types_table, $this->notifications_table, $this->user_notifications_table);
$item->set_notification_manager($this);
@@ -60,7 +60,7 @@ class phpbb_mock_notifications_notification_manager extends phpbb_notification_m
{
$method_name = 'phpbb_notification_method_' . $method_name;
- $method = new $method_name($this->user_loader, $this->db, $this->cache, $this->user, $this->auth, $this->config, $this->phpbb_root_path, $this->php_ext, $this->notifications_table, $this->user_notifications_table);
+ $method = new $method_name($this->user_loader, $this->db, $this->cache, $this->user, $this->auth, $this->config, $this->phpbb_root_path, $this->php_ext, $this->notification_types_table, $this->notifications_table, $this->user_notifications_table);
$method->set_notification_manager($this);