aboutsummaryrefslogtreecommitdiffstats
path: root/tests/group
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2019-01-02 13:21:44 +0100
committermrgoldy <gijsmartens1@gmail.com>2019-01-02 13:21:44 +0100
commitf6c93a81d302be22d754fb65e50d60699ea7b5c0 (patch)
treefb12dcb1b059600a165c50e32fec2c09ca99e17f /tests/group
parentf023dd590f28b2721773f8429a2d1fbf995f544f (diff)
downloadforums-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.php7
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&amp;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&amp;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>'),