summaryrefslogtreecommitdiff
path: root/modules/forum
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/forum
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/forum')
-rw-r--r--modules/forum/forum.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/forum/forum.test b/modules/forum/forum.test
index ae900307b..5a6b0f229 100644
--- a/modules/forum/forum.test
+++ b/modules/forum/forum.test
@@ -78,7 +78,9 @@ class ForumTestCase extends DrupalWebTestCase {
// Test adding a comment to a forum topic.
$node = $this->createForumTopic($this->forum, FALSE);
- $this->drupalPost("node/$node->nid", array('comment' => $this->randomName()), t('Save'));
+ $edit = array();
+ $edit['comment_body[' . LANGUAGE_NONE . '][0][value]'] = $this->randomName();
+ $this->drupalPost("node/$node->nid", $edit, t('Save'));
$this->assertResponse(200);
// Test editing a forum topic that has a comment.