File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/Magento/FunctionalTestingFramework/Suite/Util Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ private function extractTestObjectsFromSuiteRef($suiteReferences)
118
118
case self ::MODULE_TAG_NAME :
119
119
$ testObjectList = array_merge ($ testObjectList , $ this ->extractModuleAndFiles (
120
120
$ suiteRefData [self ::NAME ],
121
- $ suiteRefData [self ::MODULE_TAG_FILE_ATTRIBUTE ?? null ]
121
+ $ suiteRefData [self ::MODULE_TAG_FILE_ATTRIBUTE ] ?? null
122
122
));
123
123
break ;
124
124
}
@@ -198,8 +198,11 @@ private function resolveModulePathTestNames($moduleName)
198
198
);
199
199
200
200
foreach ($ xmlFiles as $ xmlFile ) {
201
- $ testObj = $ this ->resolveFilePathTestNames ($ xmlFile );
202
- $ testObjects [$ testObj ->getName ()] = $ testObj ;
201
+ $ testObjs = $ this ->resolveFilePathTestNames ($ xmlFile );
202
+
203
+ foreach ($ testObjs as $ testObj ) {
204
+ $ testObjects [$ testObj ->getName ()] = $ testObj ;
205
+ }
203
206
}
204
207
205
208
return $ testObjects ;
You can’t perform that action at this time.
0 commit comments