File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dev/tests/unit/Magento/FunctionalTestFramework/Test/Config Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,14 @@ public function testActionGroupDomStepKeyValidation()
37
37
public function testActionGroupDomInvalidXmlValidation ()
38
38
{
39
39
$ sampleXml = "<actionGroups>
40
- <actionGroup name= \"actionGroupWithoutArguments \">
40
+ <actionGroup name= \"sampleActionGroup \">
41
41
<wait>
42
42
</actionGroup>
43
43
</actionGroups> " ;
44
44
45
45
$ exceptionCollector = new ExceptionCollector ();
46
46
$ this ->expectException (ValidationException::class);
47
- new ActionGroupDom ($ sampleXml , 'bad.xml ' , $ exceptionCollector );
47
+ $ this ->expectExceptionMessage ("XML Parse Error: invalid.xml \n" );
48
+ new ActionGroupDom ($ sampleXml , 'invalid.xml ' , $ exceptionCollector );
48
49
}
49
50
}
You can’t perform that action at this time.
0 commit comments