#490636 by yched and andypost: Update PHP test for body as field, solving fatal error.
parent
76d9095ab8
commit
a13835fd27
|
|
@ -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!"; ?>'))));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue