aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-23 13:25:01 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-25 09:28:53 +0100
commita91ffe06c79dd067162fe3d659be44382a20df0e (patch)
treef2d80078c93df1ef57efb30cfd289f4d6ebf93c6 /tests/notification
parentbc5f8e30d09be1ded463b7d7a0e0d9b001de6b3b (diff)
downloadforums-a91ffe06c79dd067162fe3d659be44382a20df0e.tar
forums-a91ffe06c79dd067162fe3d659be44382a20df0e.tar.gz
forums-a91ffe06c79dd067162fe3d659be44382a20df0e.tar.bz2
forums-a91ffe06c79dd067162fe3d659be44382a20df0e.tar.xz
forums-a91ffe06c79dd067162fe3d659be44382a20df0e.zip
[ticket/11405] Send post notifications to forum subscribers
Like in 3.0 we should also send notifications about new posts to users that subscribed to the forum. (Subscriptions are verbose) PHPBB3-11405
Diffstat (limited to 'tests/notification')
-rw-r--r--tests/notification/submit_post_notifications_test.php24
1 files changed, 1 insertions, 23 deletions
diff --git a/tests/notification/submit_post_notifications_test.php b/tests/notification/submit_post_notifications_test.php
index e08d7a439a..3dfb948ca9 100644
--- a/tests/notification/submit_post_notifications_test.php
+++ b/tests/notification/submit_post_notifications_test.php
@@ -53,14 +53,7 @@ class phpbb_notification_submit_post_notifications_test extends phpbb_database_t
$this->greaterThan(0))
->will($this->returnValueMap(array(
array(
- array(
- 0 => '3',
- 1 => '4',
- 2 => '5',
- 3 => '6',
- 5 => '7',
- 6 => '8',
- ),
+ array('3', '4', '5', '6', '7', '8',),
'f_read',
1,
array(
@@ -69,21 +62,6 @@ class phpbb_notification_submit_post_notifications_test extends phpbb_database_t
),
),
),
- array(
- array(
- 0 => '3',
- 1 => '4',
- 2 => '5',
- 3 => '6',
- ),
- 'f_read',
- 1,
- array(
- 1 => array(
- 'f_read' => array(3, 5, 6,),
- ),
- ),
- ),
)));
// Config