aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/notification_test.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-03-24 23:42:13 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-03-24 23:42:13 +0100
commitd3decaeedff926f2945285b713e85c09c3de9daf (patch)
tree55af9d36122ab3bca4bfe7c30ee9b3d245546faf /tests/functional/notification_test.php
parent02817158fc4209b57893eaba107f732274835fa7 (diff)
downloadforums-d3decaeedff926f2945285b713e85c09c3de9daf.tar
forums-d3decaeedff926f2945285b713e85c09c3de9daf.tar.gz
forums-d3decaeedff926f2945285b713e85c09c3de9daf.tar.bz2
forums-d3decaeedff926f2945285b713e85c09c3de9daf.tar.xz
forums-d3decaeedff926f2945285b713e85c09c3de9daf.zip
[ticket/11460] Add default behaviour tests for notification and email types.
PHPBB3-11460
Diffstat (limited to 'tests/functional/notification_test.php')
-rw-r--r--tests/functional/notification_test.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/functional/notification_test.php b/tests/functional/notification_test.php
index 519fb8152b..ec495da602 100644
--- a/tests/functional/notification_test.php
+++ b/tests/functional/notification_test.php
@@ -15,12 +15,22 @@ class phpbb_functional_notification_test extends phpbb_functional_test_case
static public function user_subscription_data()
{
return array(
+ // Rows inserted by phpBB/install/schemas/schema_data.sql
+ // Also see PHPBB3-11460
array('post_notification', true),
array('topic_notification', true),
-
- // PHPBB3-11460
array('post_email', true),
array('topic_email', true),
+
+ // Default behaviour for in-board notifications:
+ // If user did not opt-out, in-board notifications are on.
+ array('bookmark_notification', true),
+ array('quote_notification', true),
+
+ // Default behaviour for email notifications:
+ // If user did not opt-in, email notifications are off.
+ array('bookmark_email', false),
+ array('quote_email', false),
);
}