#490636 by yched and andypost: Update PHP test for body as field, solving fatal error.

merge-requests/26/head
Angie Byron 2009-06-27 02:05:55 +00:00
parent 76d9095ab8
commit a13835fd27
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class PHPTestCase extends DrupalWebTestCase {
* @return stdObject Node object.
*/
function createNodeWithCode() {
return $this->drupalCreateNode(array('body' => array('value' => '<?php print "SimpleTest PHP was executed!"; ?>')));
return $this->drupalCreateNode(array('body' => array(array('value' => '<?php print "SimpleTest PHP was executed!"; ?>'))));
}
}