diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module index 8cf5623..b459879 100644 --- a/core/modules/simpletest/simpletest.module +++ b/core/modules/simpletest/simpletest.module @@ -759,7 +759,7 @@ function simpletest_phpunit_xml_to_rows($test_id, $phpunit_xml_file) { // The file element won't be on testcase objects created with // @dataProvider, so just use the one from the test suite at this level // because it should be the same. - $file = (string)$suite->attributes()->file; + $file = (string) $suite->attributes()->file; $testcases = simpletest_phpunit_find_testcases($suite); foreach ($testcases as $testcase) { @@ -826,10 +826,11 @@ function simpletest_phpunit_testcase_to_row($test_id, \SimpleXMLElement $testcas $record = 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. + // @todo: Check on the proper values for this. + 'message_group' => 'Other', 'function' => $attributes->class . '->' . $attributes->name . '()', 'line' => $attributes->line ?: 0, 'file' => $file,