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
0da1b6e7
Commit
0da1b6e7
authored
Apr 21, 2013
by
webchick
Browse files
Issue
#1969406
by rootatwc, Berdir: Fixed PHPUnit Test asserting logging broken.
parent
2f303cc8
Changes
1
Show whitespace changes
Inline
Side-by-side
core/modules/simpletest/simpletest.module
View file @
0da1b6e7
...
...
@@ -771,13 +771,13 @@ function simpletest_phpunit_xml_to_rows($test_id, $phpunit_xml_file) {
$attributes
=
$testcase
->
attributes
();
$records
[]
=
array
(
'test_id'
=>
$test_id
,
'test_class'
=>
(
string
)
$attributes
->
class
,
'test_class'
=>
(
string
)
$attributes
->
class
,
'status'
=>
$pass
?
'pass'
:
'fail'
,
'message'
=>
$message
,
'message_group'
=>
'Other'
,
// TODO: Check on the proper values for this.
'function'
=>
$attributes
->
class
.
'->'
.
$attributes
->
name
.
'()'
,
'line'
=>
(
string
)
$attributes
->
line
,
'file'
=>
(
string
)
$attributes
->
file
,
'line'
=>
(
int
)
$attributes
->
line
,
'file'
=>
(
string
)
$attributes
->
file
,
);
}
}
...
...
Write
Preview
Markdown
is supported
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