diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-16 23:57:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-16 23:57:33 +0000 |
commit | 574a2e47eea1bc8e2ea13240e407a32e4b728560 (patch) | |
tree | 7c124110e7e71df958fff50b2fb8e0832dd18204 /modules/user/user.test | |
parent | 18d22419f3da39ca4bf92f46d605a25957f311be (diff) | |
download | brdo-574a2e47eea1bc8e2ea13240e407a32e4b728560.tar.gz brdo-574a2e47eea1bc8e2ea13240e407a32e4b728560.tar.bz2 |
- Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block().
Diffstat (limited to 'modules/user/user.test')
-rw-r--r-- | modules/user/user.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.test b/modules/user/user.test index 981539b87..01b5b50f7 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -647,7 +647,7 @@ class UserBlocksUnitTests extends DrupalWebTestCase { $this->insertSession(); // Test block output. - $block = user_block('view', 'online'); + $block = user_block_view('online'); $this->drupalSetContent($block['content']); $this->assertRaw(t('%members and %visitors', array('%members' => '2 users', '%visitors' => '2 guests')), t('Correct number of online users (2 users and 2 guests).')); $this->assertText($user1->name, t('Active user 1 found in online list.')); |