Merge "Render namespace lists in the user's language"
[lhc/web/wiklou.git] / tests / phpunit / includes / HtmlTest.php
index 5663a60..5410644 100644 (file)
@@ -66,10 +66,13 @@ class HtmlTest extends MediaWikiTestCase {
        }
 
        protected function tearDown() {
+               Language::factory( 'en' )->resetNamespaces();
+
                if ( $this->restoreWarnings ) {
                        $this->restoreWarnings = false;
                        Wikimedia\restoreWarnings();
                }
+
                parent::tearDown();
        }