From 89ec7be3442bace4d365394b5a0e7954d50d678c Mon Sep 17 00:00:00 2001
From: Igor Melnikov <imelnikov@ebay.com>
Date: Tue, 12 Jul 2016 14:52:35 -0500
Subject: [PATCH] MAGETWO-54849: Refactor \Magento\Framework\Url::escape to use
 \Magento\Framework\Escaper::escapeUrl

Fixing unit and static tests
---
 .../Magento/TestFramework/Utility/XssOutputValidator.php        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/tests/static/framework/Magento/TestFramework/Utility/XssOutputValidator.php b/dev/tests/static/framework/Magento/TestFramework/Utility/XssOutputValidator.php
index 9ee988168a8..ae4c08af41f 100644
--- a/dev/tests/static/framework/Magento/TestFramework/Utility/XssOutputValidator.php
+++ b/dev/tests/static/framework/Magento/TestFramework/Utility/XssOutputValidator.php
@@ -202,7 +202,7 @@ class XssOutputValidator
         switch (true)
         {
             case preg_match(
-                '/->(escapeUrl|escapeQuote|escapeXssInUrl|.*html.*)\(/simU',
+                '/->(escapeHtmlAttr|escapeUrl|escapeJs|escapeXssInUrl|.*html.*)\(/simU',
                 $this->getLastMethod($command)
             ):
                 return false;
-- 
GitLab