summaryrefslogtreecommitdiff
path: root/modules/tracker
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tracker')
-rw-r--r--modules/tracker/tracker.test8
1 files changed, 4 insertions, 4 deletions
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'));