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(
157
157
array $ filterList ,
158
158
array $ extendedTestMapping = []
159
159
): array {
160
- $ filteredTestNames = (count ($ filterList )>0 )?$ this ->getFilteredTestNames ($ filterList ):[];
160
+ $ filteredTestNames = (count ($ filterList )>0 )?$ this ->getFilteredTestNames ():[];
161
161
$ temp_array = array_reverse (array_column ($ testDependencies , "test_name " ), true );
162
162
if (!empty ($ extendedTestMapping )) {
163
163
foreach ($ extendedTestMapping as $ value ) {
@@ -196,18 +196,18 @@ public function mergeDependenciesForExtendingTests(
196
196
return $ testDependencies ;
197
197
}
198
198
199
- /**
200
- * @param array $filterList
199
+ /**
200
+ * Return array of merge test modules and file path with same test name.
201
201
* @return array
202
202
*/
203
- public function getFilteredValues ( array $ filterList )
203
+ public function getFilteredTestNames ( )
204
204
{
205
205
$ testObjects = TestObjectHandler::getInstance ()->getAllObjects ();
206
206
$ filters = MftfApplicationConfig::getConfig ()->getFilterList ()->getFilters ();
207
207
foreach ($ filters as $ filter ) {
208
208
$ filter ->filter ($ testObjects );
209
209
}
210
- $ testValues = array_map (function ($ testObjects ) {
210
+ $ testValues = array_map (function ($ testObjects ) {
211
211
return $ testObjects ->getName ();
212
212
}, $ testObjects );
213
213
return $ testValues ;
You can’t perform that action at this time.
0 commit comments