diff --git a/tests/notification/fixtures/submit_post_post_in_queue.xml b/tests/notification/fixtures/submit_post_post_in_queue.xml
index 4162d01d7f..eedcebf71d 100644
--- a/tests/notification/fixtures/submit_post_post_in_queue.xml
+++ b/tests/notification/fixtures/submit_post_post_in_queue.xml
@@ -107,6 +107,14 @@
+
+ 9
+ test glboal-permissions
+
+
+
+
+
item_type
@@ -156,5 +164,12 @@
0
+
+ needs_approval
+ 0
+ 9
+
+ 1
+
diff --git a/tests/notification/submit_post_type_post_in_queue_test.php b/tests/notification/submit_post_type_post_in_queue_test.php
index 375ee3fbef..6a7ac44e39 100644
--- a/tests/notification/submit_post_type_post_in_queue_test.php
+++ b/tests/notification/submit_post_type_post_in_queue_test.php
@@ -31,18 +31,21 @@ class phpbb_notification_submit_post_type_post_in_queue_test extends phpbb_notif
'm_approve',
array(1, 0),
array(
+ 0 => array(
+ 'm_approve' => array(9),
+ ),
1 => array(
'm_approve' => array(3, 4, 6, 7, 8),
),
),
),
array(
- array(3, 4, 6, 7, 8),
+ array(3, 4, 6, 7, 8, 9),
'f_read',
1,
array(
1 => array(
- 'f_read' => array(3, 6, 7, 8),
+ 'f_read' => array(3, 6, 7, 8, 9),
),
),
),
@@ -84,6 +87,7 @@ class phpbb_notification_submit_post_type_post_in_queue_test extends phpbb_notif
* 6 => Moderator, but already notified, should STILL receive a new notification
* 7 => Moderator, but option disabled, should NOT receive a notification
* 8 => Moderator, option set to default, should receive a notification
+ * 9 => Moderator, has only global mod permissions, should receive a notification
*/
array(
array('force_approved_state' => false),
@@ -95,6 +99,7 @@ class phpbb_notification_submit_post_type_post_in_queue_test extends phpbb_notif
array('user_id' => 6, 'item_id' => 1, 'item_parent_id' => 1),
array('user_id' => 6, 'item_id' => 2, 'item_parent_id' => 1),
array('user_id' => 8, 'item_id' => 2, 'item_parent_id' => 1),
+ array('user_id' => 9, 'item_id' => 2, 'item_parent_id' => 1),
),
),
);