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/forum/forum.test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/forum') 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. -- cgit v1.2.3