File tree 3 files changed +22
-6
lines changed
3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
9
+ <module name =" Magento_TestModule" active =" true" version =" 1" />
10
+ </config >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
9
- <module name =" Magento_TestModule" active =" true" version =" 1" />
10
9
<module
11
10
name =" Magento_TestModule2"
12
11
active =" true"
Original file line number Diff line number Diff line change @@ -20,11 +20,18 @@ public function getErrorList()
20
20
/**
21
21
* @inheritdoc
22
22
*/
23
- public function getWarningList ()
23
+ public function getWarningList ($ testFile = '' )
24
24
{
25
- return [
26
- 9 => 2 ,
27
- 10 => 2
28
- ];
25
+ if ($ testFile === 'ModuleXMLUnitTest.1.xml ' ) {
26
+ return [
27
+ 9 => 2 ,
28
+ ];
29
+ }
30
+ if ($ testFile === 'ModuleXMLUnitTest.2.xml ' ) {
31
+ return [
32
+ 9 => 2 ,
33
+ ];
34
+ }
35
+ return [];
29
36
}
30
37
}
You can’t perform that action at this time.
0 commit comments