summaryrefslogtreecommitdiff
path: root/modules/system/system.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-12 08:39:40 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-12 08:39:40 +0000
commit3d64cb5ecae7c0d093e1343f87901769dc7d819e (patch)
tree765b3104ae2bbdf96ac677f8deab9b5457ffa4bf /modules/system/system.test
parentbfdea95337376b00e60049b640c076e8ab32293f (diff)
downloadbrdo-3d64cb5ecae7c0d093e1343f87901769dc7d819e.tar.gz
brdo-3d64cb5ecae7c0d093e1343f87901769dc7d819e.tar.bz2
- Patch #372743 by bjaspan, yched, KarenS, catch et al: node body and teasers as fields. Oh, my.
Diffstat (limited to 'modules/system/system.test')
-rw-r--r--modules/system/system.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/system.test b/modules/system/system.test
index 533a3cdc8..46cafc001 100644
--- a/modules/system/system.test
+++ b/modules/system/system.test
@@ -518,7 +518,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
$edit = array(
'title' => $this->randomName(10),
- 'body' => $this->randomName(100)
+ 'body' => array(array('value' => $this->randomName(100))),
);
$node = $this->drupalCreateNode($edit);
@@ -579,7 +579,7 @@ class PageNotFoundTestCase extends DrupalWebTestCase {
$edit = array(
'title' => $this->randomName(10),
- 'body' => $this->randomName(100)
+ 'body' => array(array('value' => $this->randomName(100))),
);
$node = $this->drupalCreateNode($edit);
@@ -705,7 +705,7 @@ class PageTitleFiltering extends DrupalWebTestCase {
// Generate node content.
$edit = array(
'title' => '!SimpleTest! ' . $title . $this->randomName(20),
- 'body' => '!SimpleTest! test body' . $this->randomName(200),
+ 'body[0][value]' => '!SimpleTest! test body' . $this->randomName(200),
);
// Create the node with HTML in the title.
$this->drupalPost('node/add/page', $edit, t('Save'));