From f562e86581faa0cc3da859cebb185b2c52b179da Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 7 Jan 2010 05:23:52 +0000 Subject: #538164 by scor, catch, linclark, effulgentsia, and yched: Convert Comment body as field. Yes, this is WAY past API freeze. :( But is a required follow-up for RDFa support. --- modules/tracker/tracker.test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/tracker') diff --git a/modules/tracker/tracker.test b/modules/tracker/tracker.test index bd67fda5a..7f71caf0c 100644 --- a/modules/tracker/tracker.test +++ b/modules/tracker/tracker.test @@ -74,7 +74,7 @@ class TrackerTest extends DrupalWebTestCase { )); $comment = array( 'subject' => $this->randomName(), - 'comment' => $this->randomName(20), + 'comment_body[' . LANGUAGE_NONE . '][0][value]' => $this->randomName(20), ); $this->drupalPost('comment/reply/' . $other_published_my_comment->nid, $comment, t('Save')); @@ -134,7 +134,7 @@ class TrackerTest extends DrupalWebTestCase { // Add a comment to the page. $comment = array( 'subject' => $this->randomName(), - 'comment' => $this->randomName(20), + 'comment_body[' . LANGUAGE_NONE . '][0][value]' => $this->randomName(20), ); $this->drupalPost('comment/reply/' . $node->nid, $comment, t('Save')); // The new comment is automatically viewed by the current user. @@ -146,7 +146,7 @@ class TrackerTest extends DrupalWebTestCase { // Add another comment as other_user. $comment = array( 'subject' => $this->randomName(), - 'comment' => $this->randomName(20), + 'comment_body[' . LANGUAGE_NONE . '][0][value]' => $this->randomName(20), ); // If the comment is posted in the same second as the last one then Drupal // can't tell a difference, so wait one second here. @@ -179,7 +179,7 @@ class TrackerTest extends DrupalWebTestCase { $this->drupalLogin($this->other_user); $comment = array( 'subject' => $this->randomName(), - 'comment' => $this->randomName(20), + 'comment_body[' . LANGUAGE_NONE . '][0][value]' => $this->randomName(20), ); $this->drupalPost('comment/reply/' . $nodes[3]->nid, $comment, t('Save')); -- cgit v1.2.3