diff options
author | mrgoldy <gijsmartens1@gmail.com> | 2019-01-02 13:21:44 +0100 |
---|---|---|
committer | mrgoldy <gijsmartens1@gmail.com> | 2019-01-02 13:21:44 +0100 |
commit | f6c93a81d302be22d754fb65e50d60699ea7b5c0 (patch) | |
tree | fb12dcb1b059600a165c50e32fec2c09ca99e17f /tests/group | |
parent | f023dd590f28b2721773f8429a2d1fbf995f544f (diff) | |
download | forums-f6c93a81d302be22d754fb65e50d60699ea7b5c0.tar forums-f6c93a81d302be22d754fb65e50d60699ea7b5c0.tar.gz forums-f6c93a81d302be22d754fb65e50d60699ea7b5c0.tar.bz2 forums-f6c93a81d302be22d754fb65e50d60699ea7b5c0.tar.xz forums-f6c93a81d302be22d754fb65e50d60699ea7b5c0.zip |
[ticket/15886] No profile url for BOTS group
PHPBB3-15886
Diffstat (limited to 'tests/group')
-rw-r--r-- | tests/group/helper_get_name_string_test.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/group/helper_get_name_string_test.php b/tests/group/helper_get_name_string_test.php index 7ea0f156e4..565602a346 100644 --- a/tests/group/helper_get_name_string_test.php +++ b/tests/group/helper_get_name_string_test.php @@ -39,7 +39,7 @@ class phpbb_group_helper_get_name_string_test extends phpbb_group_helper_test_ca { return array( // Should be fine - array(0, 'Bots', 'AA0000', false, 'Bots'), + array(0, 'BOTS', 'AA0000', false, 'Bots'), array(1, 'new_group', '', false, 'Some new group'), array(2, 'group_with_ümlauts', '', 'http://www.example.org/group.php?mode=show', 'Should work'), @@ -80,7 +80,8 @@ class phpbb_group_helper_get_name_string_test extends phpbb_group_helper_test_ca global $phpbb_root_path, $phpEx; return array( - array(0, 'Bots', '000000', false, '<span class="username-coloured" style="color: #000000;">Bots</span>'), + array(0, 'BOTS', '000000', false, '<span class="username-coloured" style="color: #000000;">Bots</span>'), + array(1, 'BOTS', '111111', false, '<span class="username-coloured" style="color: #111111;">Bots</span>'), array(7, 'new_group', 'FFA500', false, '<a class="username-coloured" href="' . $phpbb_root_path . 'memberlist.' . $phpEx . '?mode=group&g=7" style="color: #FFA500;">Some new group</a>'), array(14, 'Awesome group', '', 'http://www.example.org/group.php?mode=show', '<a class="username" href="http://www.example.org/group.php?mode=show&g=14">Awesome group</a>'), ); @@ -97,7 +98,7 @@ class phpbb_group_helper_get_name_string_test extends phpbb_group_helper_test_ca public function get_name_string_no_profile_data() { return array( - array(0, 'Bots', '000000', false, '<span class="username-coloured" style="color: #000000;">Bots</span>'), + array(0, 'BOTS', '000000', false, '<span class="username-coloured" style="color: #000000;">Bots</span>'), array(1, 'new_group', '', false, '<span class="username">Some new group</span>'), arraY(2, 'not_uppercase', 'FF0000', false, '<span class="username-coloured" style="color: #FF0000;">not_uppercase</span>'), array(5, 'Awesome group', '', 'http://www.example.org/group.php?mode=show', '<span class="username">Awesome group</span>'), |