Skip to content

Commit aa9de30

Browse files
committed
MQE-2040: Unable to run suites from standalone MFTF
fixed static checks
1 parent 8aef976 commit aa9de30

File tree

1 file changed

+7
-5
lines changed
  • src/Magento/FunctionalTestingFramework/Config/FileResolver

1 file changed

+7
-5
lines changed

src/Magento/FunctionalTestingFramework/Config/FileResolver/Root.php

+7-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ public function get($filename, $scope)
3636
$altPath = MAGENTO_BP . DIRECTORY_SEPARATOR . 'dev/tests/acceptance';
3737

3838
if (realpath($altPath) && ($altPath !== TESTS_BP)) {
39-
$paths = array_merge($paths,
40-
glob(FilePathFormatter::format($altPath) . self::ROOT_SUITE_DIR
41-
. DIRECTORY_SEPARATOR . '*.xml'
42-
)
43-
);
39+
$paths = array_merge(
40+
$paths,
41+
glob(
42+
FilePathFormatter::format($altPath) . self::ROOT_SUITE_DIR
43+
. DIRECTORY_SEPARATOR . '*.xml'
44+
)
45+
);
4446
}
4547

4648
// Then merge this path into the module based paths

0 commit comments

Comments
 (0)