MDL-31100 unit tests: don't mangle UTF-8 in failure messages.

This commit is contained in:
Tim Hunt
2012-01-19 18:35:33 +01:00
committed by kordan
parent 45a81b1b10
commit 92a5f438a7
+5
View File
@@ -289,4 +289,9 @@ class ExHtmlReporter extends HtmlReporter {
function get_string($identifier, $a = NULL) {
return get_string($identifier, 'tool_unittest', $a);
}
function _htmlEntities($message) {
// Override subclass message that breaks UTF8.
return s($message);
}
}