@@ -103,8 +103,8 @@ public static function exemplarXmlDataProvider()
103
103
'<integrations/> ' ,
104
104
[
105
105
[
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" ,
108
108
false ,
109
109
],
110
110
],
@@ -134,9 +134,9 @@ public static function exemplarXmlDataProvider()
134
134
"Element 'endpoint_url': This element is not expected. Expected is ( email ).The xml was: \n" .
135
135
"0:<?xml version= \"1.0 \"?> \n1:<integrations> \n2: <integration " .
136
136
"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" ,
140
140
false ,
141
141
],
142
142
],
@@ -172,9 +172,9 @@ public static function exemplarXmlDataProvider()
172
172
</integrations> ' ,
173
173
[
174
174
[
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: " .
178
178
"<email>test-integration1@magento.com</email> \n4: <endpoint_url/> \n" .
179
179
"5: </integration> \n6: </integrations> \n7: \n" ,
180
180
false ,
@@ -191,12 +191,13 @@ public static function exemplarXmlDataProvider()
191
191
</integrations> ' ,
192
192
[
193
193
[
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" ,
200
201
false ,
201
202
],
202
203
],
@@ -287,12 +288,13 @@ public static function exemplarXmlDataProvider()
287
288
[
288
289
[
289
290
"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" ,
296
298
false ,
297
299
],
298
300
],
@@ -353,9 +355,9 @@ public static function exemplarXmlDataProvider()
353
355
"was: \n0:<?xml version= \"1.0 \"?> \n1:<integrations> \n2: <integration " .
354
356
"name= \"TestIntegration1 \"> \n3: <email>test-integration1@magento.com " .
355
357
"</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" ,
359
361
false ,
360
362
],
361
363
],
@@ -371,12 +373,12 @@ public static function exemplarXmlDataProvider()
371
373
[
372
374
[
373
375
"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" ,
380
382
false ,
381
383
],
382
384
],
@@ -413,7 +415,8 @@ public static function exemplarXmlDataProvider()
413
415
</integrations> ' ,
414
416
[
415
417
[
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\').*/ " ,
417
420
true ,
418
421
],
419
422
],
0 commit comments