aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions/obtain_online_test.php
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-06-25 09:33:48 +0200
committerPayBas <contact@paybas.com>2014-06-25 14:19:09 +0200
commit665742945f37a11a84ff3dc7190607a048fee485 (patch)
tree2428aa9d6784d567194de9ffe1df24caf5d9eadb /tests/functions/obtain_online_test.php
parent419de00a9cfcf195842050e83fcfbc54fd8fd54d (diff)
downloadforums-665742945f37a11a84ff3dc7190607a048fee485.tar
forums-665742945f37a11a84ff3dc7190607a048fee485.tar.gz
forums-665742945f37a11a84ff3dc7190607a048fee485.tar.bz2
forums-665742945f37a11a84ff3dc7190607a048fee485.tar.xz
forums-665742945f37a11a84ff3dc7190607a048fee485.zip
[ticket/12662] Update tests that utilize get_username_string
PHPBB3-12662
Diffstat (limited to 'tests/functions/obtain_online_test.php')
-rw-r--r--tests/functions/obtain_online_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functions/obtain_online_test.php b/tests/functions/obtain_online_test.php
index 830b52fb4c..e793a4eb82 100644
--- a/tests/functions/obtain_online_test.php
+++ b/tests/functions/obtain_online_test.php
@@ -128,19 +128,19 @@ class phpbb_functions_obtain_online_test extends phpbb_database_test_case
{
return array(
array(0, false, array(
- 'online_userlist' => 'REGISTERED_USERS 2, 3',
+ 'online_userlist' => 'REGISTERED_USERS <span class="username">2</span>, <span class="username">3</span>',
'l_online_users' => 'ONLINE_USERS_TOTAL 5 REG_USERS_TOTAL 2 HIDDEN_USERS_TOTAL 3',
)),
array(0, true, array(
- 'online_userlist' => 'REGISTERED_USERS 2, 3',
+ 'online_userlist' => 'REGISTERED_USERS <span class="username">2</span>, <span class="username">3</span>',
'l_online_users' => 'ONLINE_USERS_TOTAL_GUESTS 7 REG_USERS_TOTAL 2 HIDDEN_USERS_TOTAL 3 GUEST_USERS_TOTAL 2',
)),
array(1, false, array(
- 'online_userlist' => 'BROWSING_FORUM 3',
+ 'online_userlist' => 'BROWSING_FORUM <span class="username">3</span>',
'l_online_users' => 'ONLINE_USERS_TOTAL 2 REG_USERS_TOTAL 1 HIDDEN_USERS_TOTAL 1',
)),
array(1, true, array(
- 'online_userlist' => 'BROWSING_FORUM_GUESTS 1 3',
+ 'online_userlist' => 'BROWSING_FORUM_GUESTS 1 <span class="username">3</span>',
'l_online_users' => 'ONLINE_USERS_TOTAL_GUESTS 3 REG_USERS_TOTAL 1 HIDDEN_USERS_TOTAL 1 GUEST_USERS_TOTAL 1',
)),
array(2, false, array(