From 574a2e47eea1bc8e2ea13240e407a32e4b728560 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 16 Dec 2008 23:57:33 +0000 Subject: - Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block(). --- modules/user/user.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.test') 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.')); -- cgit v1.2.3