Merge "resourceloader: Add tests for disallowing access to private modules"
[lhc/web/wiklou.git] / tests / phpunit / includes / MessageTest.php
index e745960..fb32ef7 100644 (file)
@@ -406,7 +406,6 @@ class MessageTest extends MediaWikiLangTestCase {
                $this->setMwGlobals( 'wgRawHtml', true );
                // We have to reset the core hook registration.
                // to register the html hook
-               MessageCache::destroyInstance();
                $this->overrideMwServices();
 
                $msg = new RawMessage( '<html><script>alert("xss")</script></html>' );