File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Magento/FunctionalTestingFramework/Util/Script Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ public function mergeDependenciesForExtendingTests(
157157 array $ filterList ,
158158 array $ extendedTestMapping = []
159159 ): array {
160- $ filteredTestNames = (count ($ filterList )>0 )?$ this ->getFilteredTestNames ($ filterList ):[];
160+ $ filteredTestNames = (count ($ filterList )>0 )?$ this ->getFilteredTestNames ():[];
161161 $ temp_array = array_reverse (array_column ($ testDependencies , "test_name " ), true );
162162 if (!empty ($ extendedTestMapping )) {
163163 foreach ($ extendedTestMapping as $ value ) {
@@ -196,18 +196,18 @@ public function mergeDependenciesForExtendingTests(
196196 return $ testDependencies ;
197197 }
198198
199- /**
200- * @param array $filterList
199+ /**
200+ * Return array of merge test modules and file path with same test name.
201201 * @return array
202202 */
203- public function getFilteredValues ( array $ filterList )
203+ public function getFilteredTestNames ( )
204204 {
205205 $ testObjects = TestObjectHandler::getInstance ()->getAllObjects ();
206206 $ filters = MftfApplicationConfig::getConfig ()->getFilterList ()->getFilters ();
207207 foreach ($ filters as $ filter ) {
208208 $ filter ->filter ($ testObjects );
209209 }
210- $ testValues = array_map (function ($ testObjects ) {
210+ $ testValues = array_map (function ($ testObjects ) {
211211 return $ testObjects ->getName ();
212212 }, $ testObjects );
213213 return $ testValues ;
You can’t perform that action at this time.
0 commit comments