MDL-31100 unit tests: don't mangle UTF-8 in failure messages.
This commit is contained in:
@@ -273,4 +273,9 @@ class ExHtmlReporter extends HtmlReporter {
|
||||
function get_string($identifier, $a = NULL) {
|
||||
return get_string($identifier, 'simpletest', $a);
|
||||
}
|
||||
|
||||
function _htmlEntities($message) {
|
||||
// Override subclass message that breaks UTF8.
|
||||
return s($message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user