1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/13713] Introduce tests for user notifications

PHPBB3-13713
This commit is contained in:
lavigor
2018-07-29 04:13:37 +03:00
committed by Marc Alexander
parent 99d57e2743
commit 0fd78c5c87
5 changed files with 262 additions and 0 deletions

View File

@@ -70,6 +70,8 @@ abstract class phpbb_notification_submit_post_base extends phpbb_database_test_c
array('f_noapprove', 1, true),
array('f_postcount', 1, true),
array('m_edit', 1, false),
array('f_mention', 1, true),
array('u_mention', 0, true),
)));
// Config
@@ -77,6 +79,7 @@ abstract class phpbb_notification_submit_post_base extends phpbb_database_test_c
'num_topics' => 1,
'num_posts' => 1,
'allow_board_notifications' => true,
'allow_mentions' => true,
));
$cache_driver = new \phpbb\cache\driver\dummy();