aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/notifications_notification_manager.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-01-15 12:10:07 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2013-01-15 12:10:07 -0600
commit07282a30ae077825ea81a4e26839ac0473dc97b7 (patch)
tree9599fa8903e9c39498dc6bb06e0346f484f68932 /tests/mock/notifications_notification_manager.php
parent51e0f002eeaf2d55a63feee66ccb37d689f46f55 (diff)
downloadforums-07282a30ae077825ea81a4e26839ac0473dc97b7.tar
forums-07282a30ae077825ea81a4e26839ac0473dc97b7.tar.gz
forums-07282a30ae077825ea81a4e26839ac0473dc97b7.tar.bz2
forums-07282a30ae077825ea81a4e26839ac0473dc97b7.tar.xz
forums-07282a30ae077825ea81a4e26839ac0473dc97b7.zip
[ticket/11103] Fix some various issues, better comments
PHPBB3-11103
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);