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

This commit is contained in:
Tim Hunt
2012-01-12 11:20:23 +00:00
parent c1dc3a5354
commit 1ed536f74d
+5
View File
@@ -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);
}
}