mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 06:39:14 +02:00
[ticket/11460] Add default behaviour tests for notification and email types.
PHPBB3-11460
This commit is contained in:
parent
02817158fc
commit
d3decaeedf
@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user