From fd22bf9aae9b771f80a8be150fa76b00a3593868 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 20 May 2009 05:07:02 +0000 Subject: #446742 follow-up by sun: Fix syntax change in randomName(). --- modules/search/search.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/search/search.test b/modules/search/search.test index fabc48dac..0e85a6127 100644 --- a/modules/search/search.test +++ b/modules/search/search.test @@ -456,7 +456,7 @@ class SearchCommentTestCase extends DrupalWebTestCase { * Verify that comments are rendered using proper format in search results. */ function testSearchResultsComment() { - $comment_body = $this->randomName(5, ''); + $comment_body = $this->randomName(5); variable_set('comment_preview_article', COMMENT_PREVIEW_OPTIONAL); // Enable check_plain() for 'Filtered HTML' text format. @@ -481,7 +481,7 @@ class SearchCommentTestCase extends DrupalWebTestCase { $node = $this->drupalCreateNode(array('type' => 'article')); // Post a comment using 'Full HTML' text format. $edit_comment = array( - 'subject' => $this->randomName(2, ''), + 'subject' => $this->randomName(2), 'comment' => '

' . $comment_body . '

', 'comment_format' => 2, ); -- cgit v1.2.3