summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-27 02:05:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-27 02:05:55 +0000
commita13835fd27e9b4adbdd1def236e6773c8ae45198 (patch)
tree9355498893a1f8d899fd330ec78e4c3f62bad7fb /modules/php
parent76d9095ab8332313c8e64341946b5eb4b980ee18 (diff)
downloadbrdo-a13835fd27e9b4adbdd1def236e6773c8ae45198.tar.gz
brdo-a13835fd27e9b4adbdd1def236e6773c8ae45198.tar.bz2
#490636 by yched and andypost: Update PHP test for body as field, solving fatal error.
Diffstat (limited to 'modules/php')
-rw-r--r--modules/php/php.test2
1 files changed, 1 insertions, 1 deletions
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' => '<?php print "SimpleTest PHP was executed!"; ?>')));
+ return $this->drupalCreateNode(array('body' => array(array('value' => '<?php print "SimpleTest PHP was executed!"; ?>'))));
}
}