summaryrefslogtreecommitdiff
path: root/modules/forum/forum.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/forum/forum.test')
-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.