X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FXmlTest.php;h=4d4fa7bb9a0d3e280a9750ad46d4dec778b0c620;hb=2917f7b6cd3b16068309c5ee369f946c17bfe0bb;hp=25b754d2bc1c012c9441dbd8d8e63c5f13a2b760;hpb=2cccf01c849b2ee94eb0cefcd63552d3ddc266b4;p=lhc%2Fweb%2Fwiklou.git
diff --git a/tests/phpunit/includes/XmlTest.php b/tests/phpunit/includes/XmlTest.php
index 25b754d2bc..4d4fa7bb9a 100644
--- a/tests/phpunit/includes/XmlTest.php
+++ b/tests/phpunit/includes/XmlTest.php
@@ -34,6 +34,11 @@ class XmlTest extends MediaWikiTestCase {
] );
}
+ protected function tearDown() {
+ Language::factory( 'en' )->resetNamespaces();
+ parent::tearDown();
+ }
+
/**
* @covers Xml::expandAttributes
*/
@@ -477,4 +482,55 @@ class XmlTest extends MediaWikiTestCase {
] )
);
}
+
+ /**
+ * @covers Xml::fieldset
+ */
+ public function testFieldset() {
+ $this->assertEquals(
+ "