X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FSanitizerTest.php;h=ad8aa1e7ebc9ebab44aa0cfa70eed23eba24677c;hb=d55fb0791b2bb8a2ea9f34347f565efe730152d4;hp=f6061b8cc6cc29761bd7179d264c47cd9cd5f0ef;hpb=954327b642fcf869aab7fa75dd58a82935f9d2e1;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/parser/SanitizerTest.php b/tests/phpunit/includes/parser/SanitizerTest.php index f6061b8cc6..ad8aa1e7eb 100644 --- a/tests/phpunit/includes/parser/SanitizerTest.php +++ b/tests/phpunit/includes/parser/SanitizerTest.php @@ -101,6 +101,7 @@ class SanitizerTest extends MediaWikiTestCase { */ public function testRemovehtmltagsOnHtml5Tags( $tag, $escaped ) { $this->hideDeprecated( 'disabling tidy' ); + $this->hideDeprecated( 'MWTidy::setInstance' ); MWTidy::setInstance( false ); if ( $escaped ) { @@ -164,6 +165,7 @@ class SanitizerTest extends MediaWikiTestCase { */ public function testRemoveHTMLtags( $input, $output, $msg = null ) { $this->hideDeprecated( 'disabling tidy' ); + $this->hideDeprecated( 'MWTidy::setInstance' ); MWTidy::setInstance( false ); $this->assertEquals( $output, Sanitizer::removeHTMLtags( $input ), $msg ); }