X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fparser%2FParserTestResultNormalizer.php;h=fbeed97bc0304ae1587a605f885c78b95bd9056d;hp=61aa0d795f58c974c3e5f274e6c58f6d1e95cfa3;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hpb=3090dea5b555983d770dc252b02528752d6cfc7b 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 );
 	}