jenkins-bot has submitted this change and it was merged.

Change subject: JsonSchemaTest: Account for updated escaping in MediaWiki
......................................................................


JsonSchemaTest: Account for updated escaping in MediaWiki

No longer escapes '>' in element content.

Change-Id: I9ee243e328579ffd3de541c69e76b4e9d390021f
---
M tests/JsonSchemaTest.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/JsonSchemaTest.php b/tests/JsonSchemaTest.php
index c7345c9..841dd1d 100644
--- a/tests/JsonSchemaTest.php
+++ b/tests/JsonSchemaTest.php
@@ -75,6 +75,6 @@
        function testGetHighlightHtml() {
                $evil = new JsonSchemaContent( self::EVIL_JSON );
                $html = $evil->getHtml();
-               $this->assertContains( '<script>', $html, 'HTML output 
should be escaped' );
+               $this->assertContains( '<script>', $html, 'HTML output 
should be escaped' );
        }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/186110
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9ee243e328579ffd3de541c69e76b4e9d390021f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to