Merge "messagecache: avoid caching message pages that do not override"
[lhc/web/wiklou.git] / tests / phpunit / includes / HtmlTest.php
index 62094b6..5cc59b3 100644 (file)
@@ -41,10 +41,13 @@ class HtmlTest extends MediaWikiTestCase {
        }
 
        protected function tearDown() {
+               Language::factory( 'en' )->resetNamespaces();
+
                if ( $this->restoreWarnings ) {
                        $this->restoreWarnings = false;
                        Wikimedia\restoreWarnings();
                }
+
                parent::tearDown();
        }