aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/ext/test
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-29 18:09:20 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-29 18:09:20 -0500
commite549b7663da47d7518b93074e513c7e1d034bf52 (patch)
treede8b250ab18d550e597c7d093a0633a6f2004bed /tests/notification/ext/test
parenteddb56f8426161923d8870ca5f8f899c342075db (diff)
downloadforums-e549b7663da47d7518b93074e513c7e1d034bf52.tar
forums-e549b7663da47d7518b93074e513c7e1d034bf52.tar.gz
forums-e549b7663da47d7518b93074e513c7e1d034bf52.tar.bz2
forums-e549b7663da47d7518b93074e513c7e1d034bf52.tar.xz
forums-e549b7663da47d7518b93074e513c7e1d034bf52.zip
[ticket/11103] Set basic notifications to be enabled by default
Now, if there is no row for the user in the user_notifications table, the user will receive basic notifications. If the user wishes to not receive notifications, a row must be added with notify = 0. For other methods besides the basic (e.g. email, jabber) a row must still be added with notify = 1 for them to receive notifications PHPBB3-11103
Diffstat (limited to 'tests/notification/ext/test')
-rw-r--r--tests/notification/ext/test/notification/type/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notification/ext/test/notification/type/test.php b/tests/notification/ext/test/notification/type/test.php
index e76bdb5e0c..34149484df 100644
--- a/tests/notification/ext/test/notification/type/test.php
+++ b/tests/notification/ext/test/notification/type/test.php
@@ -29,7 +29,7 @@ class phpbb_ext_test_notification_type_test extends phpbb_notification_type_base
public function find_users_for_notification($post, $options = array())
{
- return $this->_find_users_for_notification(0, $options);
+ return $this->check_user_notification_options(array(0), $options);
}
public function create_insert_array($post, $pre_create_data = array())