Heine

  • drupal
  • drupal core commits
  • about
Home

Commit 214060 by webchick

#446742 follow-up by sun: Fix syntax change in randomName().

--- modules/search/search.test  2009/04/29 17:48:11     1.18
+++ modules/search/search.test  2009/05/20 05:07:02     1.19
@@ -456,7 +456,7 @@
    * 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 @@
     $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,
     );

No votes yet
  • Drupal Core
  • Download patch

Recent posts

  • Drupal 6: $base_path doesn't always point to the frontpage
  • XNA SoundEffect ContentLoadException
  • A new form element in Drupal core
  • The backstabbing March-Hare
  • Drupal HEAD and HTTP 500 errors on IIS 7

All-time popular content

  • Update UID 1 password via JS
  • Keeping an eye on Drupal core
  • Subversion on Strato V-PowerServer
  • A new form element in Drupal core
  • Access denied - Are you sure?
more

Tags

Captcha Coding Drupal FAPI IIS Let's hope it doesn't become popular Performance PHP Planet Drupal Quiz Security V-PowerServer
more tags
  • drupal
  • drupal core commits
  • about

Copyright © 2009 by Heine Deelstra. All rights reserved.