From a13835fd27e9b4adbdd1def236e6773c8ae45198 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 27 Jun 2009 02:05:55 +0000 Subject: #490636 by yched and andypost: Update PHP test for body as field, solving fatal error. --- modules/php/php.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/php') diff --git a/modules/php/php.test b/modules/php/php.test index 441563e3a..25a3d3786 100644 --- a/modules/php/php.test +++ b/modules/php/php.test @@ -23,7 +23,7 @@ class PHPTestCase extends DrupalWebTestCase { * @return stdObject Node object. */ function createNodeWithCode() { - return $this->drupalCreateNode(array('body' => array('value' => ''))); + return $this->drupalCreateNode(array('body' => array(array('value' => '')))); } } -- cgit v1.2.3