From 3d64cb5ecae7c0d093e1343f87901769dc7d819e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 12 Jun 2009 08:39:40 +0000 Subject: - Patch #372743 by bjaspan, yched, KarenS, catch et al: node body and teasers as fields. Oh, my. --- modules/forum/forum.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/forum/forum.test') diff --git a/modules/forum/forum.test b/modules/forum/forum.test index 4941734bf..0b2978800 100644 --- a/modules/forum/forum.test +++ b/modules/forum/forum.test @@ -233,7 +233,7 @@ class ForumTestCase extends DrupalWebTestCase { $edit = array( 'title' => $title, - 'body' => $body, + 'body[0][value]' => $body, 'taxonomy[1]' => $tid ); @@ -322,7 +322,7 @@ class ForumTestCase extends DrupalWebTestCase { // Edit forum node (including moving it to another forum). $edit = array(); $edit['title'] = 'node/' . $node->nid; - $edit['body'] = $this->randomName(256); + $edit['body[0][value]'] = $this->randomName(256); $edit['taxonomy[1]'] = $this->root_forum['tid']; // Assumes the topic is initially associated with $forum. $edit['shadow'] = TRUE; $this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save')); -- cgit v1.2.3