aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/functions/phpbb_get_banned_user_ids.php17
1 files changed, 14 insertions, 3 deletions
diff --git a/tests/functions/phpbb_get_banned_user_ids.php b/tests/functions/phpbb_get_banned_user_ids.php
index 9f56480235..76c0204970 100644
--- a/tests/functions/phpbb_get_banned_user_ids.php
+++ b/tests/functions/phpbb_get_banned_user_ids.php
@@ -19,9 +19,20 @@ class phpbb_get_banned_user_ids_test extends phpbb_database_test_case
public function phpbb_get_banned_user_ids_data()
{
return array(
- array(array(array(1, 2, 4, 5, 6), true), array(2 => 2, 5 => 5)),
- array(array(array(1, 2, 4, 5, 6), false), array(2 => 2)),
- array(array(array(1, 2, 4, 5, 6), 2), array(2 => 2, 5 => 5, 6 => 6)),
+ // Input to phpbb_get_banned_user_ids (user_id list, ban_end)
+ // Expected output
+ array(
+ array(array(1, 2, 4, 5, 6), true),
+ array(2 => 2, 5 => 5),
+ ),
+ array(
+ array(array(1, 2, 4, 5, 6), false),
+ array(2 => 2),
+ ),
+ array(
+ array(array(1, 2, 4, 5, 6), 2),
+ array(2 => 2, 5 => 5, 6 => 6),
+ ),
);
}