X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FXmlTest.php;h=4556473af14d8c748dd8b92a774a1b0ec079c074;hb=7b03008aea08b193da09d86ad51c1149ae3e96b3;hp=e46fc67f73658f60f072f1e7bfccd5bb10ae3cb6;hpb=f43ed0b70f0ad2d769f0630cd06d70b8e4ad66b4;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/XmlTest.php b/tests/phpunit/includes/XmlTest.php index e46fc67f73..4556473af1 100644 --- a/tests/phpunit/includes/XmlTest.php +++ b/tests/phpunit/includes/XmlTest.php @@ -97,8 +97,8 @@ class XmlTest extends MediaWikiTestCase { */ public function testElementEscaping() { $this->assertEquals( - 'hello <there> you & you', - Xml::element( 'element', null, 'hello you & you' ), + '"hello <there> your\'s & you"', + Xml::element( 'element', null, '"hello your\'s & you"' ), 'Element with no attributes and content that needs escaping' ); }