aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/XmlTest.php
diff options
context:
space:
mode:
authorVolker E <volker.e@wikimedia.org>2022-05-24 15:15:00 -0700
committerthiemowmde <thiemo.kreuz@wikimedia.de>2023-05-03 10:44:41 +0200
commit2c1729e4e9501bf9b7227d57f896391f7a8cf395 (patch)
tree4891ef7211798092ee3927fa8f12e97e001c0605 /tests/phpunit/includes/XmlTest.php
parent8261ee74cc8d9b0bd4c2b477553787aa8a4cd3cd (diff)
downloadmediawikicore-2c1729e4e9501bf9b7227d57f896391f7a8cf395.tar.gz
mediawikicore-2c1729e4e9501bf9b7227d57f896391f7a8cf395.zip
HTML: Remove self-closing XHTML syntax from core
Syntactical leftover with no significance in modern web. Bug: T309150 Depends-On: I3a029ca950db42b938962b2452ad136ae8ddea6f Depends-On: Id0557ac19583de36d7226b14a4c06933da47fe97 Depends-On: I17580a72e4a9384d7d774866e610197e950900cb Change-Id: I4bbfa47fbf6e30fb90d920d6d02cdf6e0b1cdb46
Diffstat (limited to 'tests/phpunit/includes/XmlTest.php')
-rw-r--r--tests/phpunit/includes/XmlTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/XmlTest.php b/tests/phpunit/includes/XmlTest.php
index 880b82d8d99b..d595edfac832 100644
--- a/tests/phpunit/includes/XmlTest.php
+++ b/tests/phpunit/includes/XmlTest.php
@@ -175,7 +175,7 @@ class XmlTest extends MediaWikiIntegrationTestCase {
$this->assertEquals(
'<label for="year">From year (and earlier):</label> ' .
- '<input id="year" maxlength="4" size="7" type="number" value="2011" name="year"/> ' .
+ '<input id="year" maxlength="4" size="7" type="number" value="2011" name="year"> ' .
'<label for="month">From month (and earlier):</label> ' .
'<select name="month" id="month" class="mw-month-selector">' .
'<option value="-1">all</option>' . "\n" .
@@ -196,7 +196,7 @@ class XmlTest extends MediaWikiIntegrationTestCase {
);
$this->assertEquals(
'<label for="year">From year (and earlier):</label> ' .
- '<input id="year" maxlength="4" size="7" type="number" value="2011" name="year"/> ' .
+ '<input id="year" maxlength="4" size="7" type="number" value="2011" name="year"> ' .
'<label for="month">From month (and earlier):</label> ' .
'<select name="month" id="month" class="mw-month-selector">' .
'<option value="-1">all</option>' . "\n" .
@@ -230,7 +230,7 @@ class XmlTest extends MediaWikiIntegrationTestCase {
$this->assertEquals(
'<label for="year">From year (and earlier):</label> ' .
- '<input id="year" maxlength="4" size="7" type="number" name="year"/> ' .
+ '<input id="year" maxlength="4" size="7" type="number" name="year"> ' .
'<label for="month">From month (and earlier):</label> ' .
'<select name="month" id="month" class="mw-month-selector">' .
'<option value="-1">all</option>' . "\n" .