5
5
*/
6
6
namespace Magento \FunctionalTestingFramework \Util \Script ;
7
7
8
- use Magento \FunctionalTestingFramework \Test \Handlers \TestObjectHandler ;
8
+ use Magento \FunctionalTestingFramework \Test \Handlers \TestObjectHandler ;
9
9
use Magento \FunctionalTestingFramework \Filter \FilterList ;
10
10
11
-
12
11
/**
13
12
* TestDependencyUtil class that contains helper functions for static and upgrade scripts
14
13
*
@@ -174,7 +173,15 @@ public function mergeDependenciesForExtendingTests(
174
173
}
175
174
$ testDependencies = [];
176
175
foreach ($ temp_array as $ testDependencyArray ) {
177
- if ((empty ($ filteredTestNames )) || (in_array ($ testDependencyArray [0 ]["test_name " ],$ filteredTestNames ))) {
176
+ if ((
177
+ empty ($ filteredTestNames )) ||
178
+ (
179
+ in_array (
180
+ $ testDependencyArray [0 ]["test_name " ],
181
+ $ filteredTestNames
182
+ )
183
+ )
184
+ ) {
178
185
$ testDependencies [] = [
179
186
"file_path " => array_column ($ testDependencyArray , 'file_path ' ),
180
187
"full_name " => $ testDependencyArray [0 ]["full_name " ],
@@ -196,11 +203,11 @@ public function mergeDependenciesForExtendingTests(
196
203
/**
197
204
* @return array
198
205
*/
199
- public function getFilteredValues (array $ filterList ) {
200
-
206
+ public function getFilteredValues (array $ filterList )
207
+ {
201
208
$ testObjects = TestObjectHandler::getInstance ()->getAllObjects ();
202
209
$ fileList = new FilterList ($ filterList );
203
- foreach ( $ fileList ->getFilters () as $ filterData ) {
210
+ foreach ( $ fileList ->getFilters () as $ filterData ) {
204
211
$ filterData ->filter ($ testObjects );
205
212
}
206
213
foreach ($ testObjects as $ testObjects ) {
0 commit comments