summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-20 05:07:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-20 05:07:02 +0000
commitfd22bf9aae9b771f80a8be150fa76b00a3593868 (patch)
tree12f3a7407793a5c049e8832ba1ddc57e53029aca /modules
parentc160d237bf96fafe27409d7db9fa2d4f924ea59c (diff)
downloadbrdo-fd22bf9aae9b771f80a8be150fa76b00a3593868.tar.gz
brdo-fd22bf9aae9b771f80a8be150fa76b00a3593868.tar.bz2
#446742 follow-up by sun: Fix syntax change in randomName().
Diffstat (limited to 'modules')
-rw-r--r--modules/search/search.test4
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,
);