Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 1ed536f74d977fcd20571e84f6ddff2b96a40e01 1 parent c1dc3a5
Tim Hunt timhunt authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 admin/report/unittest/ex_reporter.php
5 admin/report/unittest/ex_reporter.php
@@ -273,4 +273,9 @@ function _stripParameterFromUrl($url, $param) {
273 273 function get_string($identifier, $a = NULL) {
274 274 return get_string($identifier, 'simpletest', $a);
275 275 }
  276 +
  277 + function _htmlEntities($message) {
  278 + // Override subclass message that breaks UTF8.
  279 + return s($message);
  280 + }
276 281 }

0 comments on commit 1ed536f

Please sign in to comment.
Something went wrong with that request. Please try again.