X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=tests%2Fparser%2FParserTestResultNormalizer.php;h=fbeed97bc0304ae1587a605f885c78b95bd9056d;hb=fb56b37d67ba9b2c1b16da68beca4bdb218993f3;hp=61aa0d795f58c974c3e5f274e6c58f6d1e95cfa3;hpb=5179c299bc112b292f51084ee80afea3878e7386;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/ParserTestResultNormalizer.php b/tests/parser/ParserTestResultNormalizer.php index 61aa0d795f..fbeed97bc0 100644 --- a/tests/parser/ParserTestResultNormalizer.php +++ b/tests/parser/ParserTestResultNormalizer.php @@ -25,11 +25,11 @@ class ParserTestResultNormalizer { // guaranteed to give accurate results. For example, it may introduce // differences in the number of line breaks in
tags. - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); if ( !$this->doc->loadXML( '' . $text . '' ) ) { $this->invalid = true; } - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); $this->xpath = new DOMXPath( $this->doc ); $this->body = $this->xpath->query( '//body' )->item( 0 ); }