X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FMessageTest.php;h=37d4e0c24061e98b499cb8d10bd36497dcbb5311;hp=fb32ef7fda7a7bddd1ad52b49f0ea02bdf02363c;hb=9c7f6734c397a954b8eaa5ec73876f2b4bf92afb;hpb=786524a94a5dd8f34c10b183bc59c91e2ad96589
diff --git a/tests/phpunit/includes/MessageTest.php b/tests/phpunit/includes/MessageTest.php
index fb32ef7fda..37d4e0c240 100644
--- a/tests/phpunit/includes/MessageTest.php
+++ b/tests/phpunit/includes/MessageTest.php
@@ -404,9 +404,6 @@ class MessageTest extends MediaWikiLangTestCase {
*/
public function testRawHtmlInMsg() {
$this->setMwGlobals( 'wgRawHtml', true );
- // We have to reset the core hook registration.
- // to register the html hook
- $this->overrideMwServices();
$msg = new RawMessage( '' );
$txt = '<html> tags cannot be' .