aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/xml/XmlTest.php
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2024-02-05 13:59:51 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2024-02-05 13:59:51 +0000
commitee6040661798e68dbbcdd03e16c12dd1102d4fe7 (patch)
treea0000b2ada591570dce01772bf7e744a78bfc86d /tests/phpunit/includes/xml/XmlTest.php
parent4842f12bb7007846a4d14ca2bafebf948045085e (diff)
parentaa7eeeeef92c55c270f8b16bb5abbbd398c5e324 (diff)
downloadmediawikicore-ee6040661798e68dbbcdd03e16c12dd1102d4fe7.tar.gz
mediawikicore-ee6040661798e68dbbcdd03e16c12dd1102d4fe7.zip
Merge "Remove uses of $wgUseMediaWikiUIEverywhere"
Diffstat (limited to 'tests/phpunit/includes/xml/XmlTest.php')
-rw-r--r--tests/phpunit/includes/xml/XmlTest.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/phpunit/includes/xml/XmlTest.php b/tests/phpunit/includes/xml/XmlTest.php
index 3ef708ad9f62..ebb53b4e1fe1 100644
--- a/tests/phpunit/includes/xml/XmlTest.php
+++ b/tests/phpunit/includes/xml/XmlTest.php
@@ -15,7 +15,6 @@ class XmlTest extends MediaWikiIntegrationTestCase {
$this->overrideConfigValues( [
MainConfigNames::LanguageCode => 'en',
- MainConfigNames::UseMediaWikiUIEverywhere => false,
] );
$langObj = $this->getServiceContainer()->getLanguageFactory()->getLanguage( 'en' );
@@ -77,21 +76,6 @@ class XmlTest extends MediaWikiIntegrationTestCase {
);
}
- /**
- * @covers Xml::input
- * @covers \MediaWiki\Html\Html::getTextInputAttributes
- */
- public function testInputWithMWUIEverywhere() {
- $this->overrideConfigValues( [
- MainConfigNames::UseMediaWikiUIEverywhere => true,
- ] );
-
- $this->assertSame(
- '<input name="name" class="foo mw-ui-input" />',
- Xml::input( 'name', false, false, [ 'class' => 'foo' ] )
- );
- }
-
public function testOpenElement() {
$this->assertEquals(
'<element k="v">',