Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a13835fd
Commit
a13835fd
authored
Jun 27, 2009
by
webchick
Browse files
#490636
by yched and andypost: Update PHP test for body as field, solving fatal error.
parent
76d9095a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/php/php.test
View file @
a13835fd
...
...
@@ -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!"; ?>'
)))
)
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment