mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
MDL-31100 unit tests: don't mangle UTF-8 in failure messages.
This commit is contained in:
parent
60e99097e4
commit
aad1b6ee64
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user