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)
118118 case self ::MODULE_TAG_NAME :
119119 $ testObjectList = array_merge ($ testObjectList , $ this ->extractModuleAndFiles (
120120 $ suiteRefData [self ::NAME ],
121- $ suiteRefData [self ::MODULE_TAG_FILE_ATTRIBUTE ?? null ]
121+ $ suiteRefData [self ::MODULE_TAG_FILE_ATTRIBUTE ] ?? null
122122 ));
123123 break ;
124124 }
@@ -198,8 +198,11 @@ private function resolveModulePathTestNames($moduleName)
198198 );
199199
200200 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+ }
203206 }
204207
205208 return $ testObjects ;
You can’t perform that action at this time.
0 commit comments