summaryrefslogtreecommitdiff
path: root/modules/tracker
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-07 05:23:52 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-07 05:23:52 +0000
commitf562e86581faa0cc3da859cebb185b2c52b179da (patch)
treea5c248f5d96246edf89d2077a0ed0d704526a853 /modules/tracker
parent3ede61995539d7f4b1ee0b7f30897b849400f490 (diff)
downloadbrdo-f562e86581faa0cc3da859cebb185b2c52b179da.tar.gz
brdo-f562e86581faa0cc3da859cebb185b2c52b179da.tar.bz2
#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.
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'));