Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/186110

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EventLogging 
refs/changes/10/186110/1

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: newchange
Gerrit-Change-Id: I9ee243e328579ffd3de541c69e76b4e9d390021f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>

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

Reply via email to