@@ -252,7 +252,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
252
252
// check test dependencies log command
253
253
if (!empty ($ log )) {
254
254
if ($ log === "testEntityJson " ) {
255
- $ this ->getTestEntityJson ($ tests );
255
+ $ this ->getTestEntityJson ($ tests, $ filterList ??[] );
256
256
$ testDependencyFileLocation = self ::TEST_DEPENDENCY_FILE_LOCATION_EMBEDDED ;
257
257
if (isset ($ _ENV ['MAGENTO_BP ' ])) {
258
258
$ testDependencyFileLocation = self ::TEST_DEPENDENCY_FILE_LOCATION_STANDALONE ;
@@ -395,9 +395,9 @@ private function parseConfigParallelOptions($time, $groups)
395
395
* @throws TestFrameworkException
396
396
* @throws XmlException|FastFailException
397
397
*/
398
- private function getTestEntityJson (array $ tests = [])
398
+ private function getTestEntityJson (array $ tests = [], $ filterList )
399
399
{
400
- $ testDependencies = $ this ->getTestDependencies ($ tests );
400
+ $ testDependencies = $ this ->getTestDependencies ($ filterList , $ tests );
401
401
$ this ->array2Json ($ testDependencies );
402
402
}
403
403
@@ -409,7 +409,7 @@ private function getTestEntityJson(array $tests = [])
409
409
* @throws TestFrameworkException
410
410
* @throws XmlException
411
411
*/
412
- public function getTestDependencies (array $ tests = []): array
412
+ public function getTestDependencies ($ filterList , array $ tests = []): array
413
413
{
414
414
$ this ->scriptUtil = new ScriptUtil ();
415
415
$ this ->testDependencyUtil = new TestDependencyUtil ();
@@ -442,7 +442,7 @@ public function getTestDependencies(array $tests = []): array
442
442
}
443
443
444
444
list ($ testDependencies , $ extendedTestMapping ) = $ this ->findTestDependentModule ($ testXmlFiles );
445
- return $ this ->testDependencyUtil ->mergeDependenciesForExtendingTests ($ testDependencies , $ extendedTestMapping );
445
+ return $ this ->testDependencyUtil ->mergeDependenciesForExtendingTests ($ testDependencies , $ filterList , $ extendedTestMapping );
446
446
}
447
447
448
448
/**
0 commit comments