diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search/search.test | 4 |
1 files changed, 2 insertions, 2 deletions
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' => '<h1>' . $comment_body . '</h1>', 'comment_format' => 2, ); |