Issue #3499596 by alexpott: run-tests.sh cannot handle unicode in PHPUnit output
parent
886ee4e355
commit
52fafcaad6
|
@ -1251,7 +1251,7 @@ function simpletest_script_reporter_write_xml_results(TestRunResultsStorageInter
|
|||
}
|
||||
$test_class = $result->test_class;
|
||||
if (!isset($xml_files[$test_class])) {
|
||||
$doc = new DomDocument('1.0');
|
||||
$doc = new DomDocument('1.0', 'utf-8');
|
||||
$root = $doc->createElement('testsuite');
|
||||
$root = $doc->appendChild($root);
|
||||
$xml_files[$test_class] = ['doc' => $doc, 'suite' => $root];
|
||||
|
|
Loading…
Reference in New Issue