@@ -103,8 +103,8 @@ public static function exemplarXmlDataProvider()
103103 '<integrations/> ' ,
104104 [
105105 [
106- "Element 'integrations': Missing child element(s). Expected is ( integration ).The xml was: \n " .
107- "0 :<?xml version= \"1.0 \"?> \n1:<integrations/> \n2: \n" ,
106+ "Element 'integrations': Missing child element(s). Expected is ( integration ). " .
107+ "The xml was: \n 0 :<?xml version= \"1.0 \"?> \n1:<integrations/> \n2: \n" ,
108108 false ,
109109 ],
110110 ],
@@ -134,9 +134,9 @@ public static function exemplarXmlDataProvider()
134134 "Element 'endpoint_url': This element is not expected. Expected is ( email ).The xml was: \n" .
135135 "0:<?xml version= \"1.0 \"?> \n1:<integrations> \n2: <integration " .
136136 "name= \"TestIntegration1 \"> \n3: <endpoint_url>http://endpoint.url " .
137- "</endpoint_url> \n4: <identity_link_url>http://www.example.com/identity " .
138- "</identity_link_url> \n5: </integration> \n 6: " .
139- "</integrations> \n7: \n" ,
137+ "</endpoint_url> \n4: <identity_link_url> " .
138+ "http://www.example.com/identity </identity_link_url> \n5: </integration> " .
139+ "\n 6: </integrations> \n7: \n" ,
140140 false ,
141141 ],
142142 ],
@@ -172,9 +172,9 @@ public static function exemplarXmlDataProvider()
172172 </integrations> ' ,
173173 [
174174 [
175- "Element 'endpoint_url': [facet 'minLength'] The value has a length of '0'; this underruns the " .
176- "allowed minimum length of '4'.The xml was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations> \n " .
177- "2 : <integration name= \"TestIntegration1 \"> \n3: " .
175+ "Element 'endpoint_url': [facet 'minLength'] The value has a length of '0'; this underruns " .
176+ "the allowed minimum length of '4'.The xml was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations> " .
177+ "\n 2 : <integration name= \"TestIntegration1 \"> \n3: " .
178178 "<email>test-integration1@magento.com</email> \n4: <endpoint_url/> \n" .
179179 "5: </integration> \n6: </integrations> \n7: \n" ,
180180 false ,
@@ -191,12 +191,13 @@ public static function exemplarXmlDataProvider()
191191 </integrations> ' ,
192192 [
193193 [
194- "Element 'identity_link_url': [facet 'minLength'] The value has a length of '0'; this underruns " .
195- "the allowed minimum length of '4'.The xml was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations> \n" .
196- "2: <integration name= \"TestIntegration1 \"> \n3: " .
197- "<email>test-integration1@magento.com</email> \n4: <endpoint_url> " .
198- "http://endpoint.url</endpoint_url> \n5: <identity_link_url/> \n" .
199- "6: </integration> \n7: </integrations> \n8: \n" ,
194+ "Element 'identity_link_url': [facet 'minLength'] The value has a length of '0'; this " .
195+ "underruns the allowed minimum length of '4'.The xml was: \n0:<?xml version= \"1.0 \"?> \n1: " .
196+ "<integrations> \n2: <integration name= \"TestIntegration1 \"> " .
197+ "\n3: <email>test-integration1@magento.com</email> " .
198+ "\n4: <endpoint_url>http://endpoint.url</endpoint_url> " .
199+ "\n5: <identity_link_url/> \n6: </integration> " .
200+ "\n7: </integrations> \n8: \n" ,
200201 false ,
201202 ],
202203 ],
@@ -287,12 +288,13 @@ public static function exemplarXmlDataProvider()
287288 [
288289 [
289290 "Element 'integrations', attribute 'invalid': The attribute 'invalid' is not allowed.The xml " .
290- "was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations invalid= \"invalid \"> \n2: " .
291- "<integration name= \"TestIntegration1 \"> \n3: <email> " .
292- "test-integration1@magento.com</email> \n4: <endpoint_url> " .
293- "http://endpoint.url</endpoint_url> \n5: <identity_link_url> " .
294- "http://www.example.com/identity</identity_link_url> \n6: </integration> \n" .
295- "7: </integrations> \n8: \n" ,
291+ "was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations invalid= \"invalid \"> " .
292+ "\n2: <integration name= \"TestIntegration1 \"> " .
293+ "\n3: <email>test-integration1@magento.com</email> " .
294+ "\n4: <endpoint_url>http://endpoint.url</endpoint_url> " .
295+ "\n5: <identity_link_url>http://www.example.com/identity " .
296+ "</identity_link_url> \n6: </integration> " .
297+ "\n7: </integrations> \n8: \n" ,
296298 false ,
297299 ],
298300 ],
@@ -353,9 +355,9 @@ public static function exemplarXmlDataProvider()
353355 "was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations> \n2: <integration " .
354356 "name= \"TestIntegration1 \"> \n3: <email>test-integration1@magento.com " .
355357 "</email> \n4: <endpoint_url invalid= \"invalid \">http://endpoint.url " .
356- "</endpoint_url> \n5: <identity_link_url>http://www.example.com/identity " .
357- "</identity_link_url> \n6: </integration> \n 7: " .
358- "</integrations> \n8: \n" ,
358+ "</endpoint_url> \n5: <identity_link_url> " .
359+ "http://www.example.com/identity </identity_link_url> \n6: </integration> " .
360+ "\n 7: </integrations> \n8: \n" ,
359361 false ,
360362 ],
361363 ],
@@ -371,12 +373,12 @@ public static function exemplarXmlDataProvider()
371373 [
372374 [
373375 "Element 'identity_link_url', attribute 'invalid': The attribute 'invalid' is not allowed. " .
374- "The xml was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations> \n2: <integration " .
375- " name= \"TestIntegration1 \"> \n3: <email>test-integration1@magento.com " .
376- "</email> \n4: <endpoint_url>http://endpoint.url</endpoint_url> \n " .
377- "5: <identity_link_url invalid= \" invalid \" >http://endpoint.url " .
378- "</ identity_link_url> \n 6: </integration> \n " .
379- "7 : </integrations> \n8: \n" ,
376+ "The xml was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations> \n2: " .
377+ "<integration name= \"TestIntegration1 \"> \n3: " .
378+ "<email>test-integration1@magento.com< /email> \n4: " .
379+ "<endpoint_url>http://endpoint.url</endpoint_url> \n 5: " .
380+ "<identity_link_url invalid= \" invalid \" >http://endpoint.url</identity_link_url> " .
381+ "\n 6: </integration> \n 7 : </integrations> \n8: \n" ,
380382 false ,
381383 ],
382384 ],
@@ -413,7 +415,8 @@ public static function exemplarXmlDataProvider()
413415 </integrations> ' ,
414416 [
415417 [
416- "/Element \'integration\', attribute \'name\': .*\'\' (is not a valid value|has a length of \'0\').*/ " ,
418+ "/Element \'integration\', attribute \'name\': .*\'\' " .
419+ " (is not a valid value|has a length of \'0\').*/ " ,
417420 true ,
418421 ],
419422 ],
0 commit comments