Commit 0da1b6e7 authored by webchick's avatar webchick

Issue #1969406 by rootatwc, Berdir: Fixed PHPUnit Test asserting logging broken.

parent 2f303cc8
......@@ -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,
);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment