X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FXmlTest.php;h=18ff1f4b1167d3c3ee8dbb34b59038eab20141e4;hb=7ae2669643beb2531eb61d9603e66b3da561cb2a;hp=00d429e458413c8ce18cd106296dd5d3dfc0e004;hpb=90f599a5a2b46794a3002ee2f2563fc456a2fddb;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/XmlTest.php b/tests/phpunit/includes/XmlTest.php index 00d429e458..18ff1f4b11 100644 --- a/tests/phpunit/includes/XmlTest.php +++ b/tests/phpunit/includes/XmlTest.php @@ -30,7 +30,6 @@ class XmlTest extends MediaWikiTestCase { $this->setMwGlobals( [ 'wgLang' => $langObj, - 'wgWellFormedXml' => true, 'wgUseMediaWikiUIEverywhere' => false, ] ); } @@ -306,17 +305,6 @@ class XmlTest extends MediaWikiTestCase { ); } - /** - * @covers Xml::escapeJsString - */ - public function testEscapeJsStringSpecialChars() { - $this->assertEquals( - '\\\\\r\n', - Xml::escapeJsString( "\\\r\n" ), - 'escapeJsString() with special characters' - ); - } - /** * @covers Xml::encodeJsVar */