Skip to content

Commit 99d3797

Browse files
committed
MQE-189: Fixed ModuleResolver to recover a previous bad merge.
1 parent 1dfb85e commit 99d3797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Magento/AcceptanceTestFramework/Util/ModuleResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ public function getModulesPath()
159159
}
160160

161161
$enabledModules = $this->getEnabledModules();
162-
$modulePath = FW_BP . '/src/Magento/AcceptanceTestFramework';
163-
$allModulePaths = glob($modulePath . '/*');
162+
$modulePath = defined('TESTS_MODULE_PATH') ? TESTS_MODULE_PATH : TESTS_BP;
163+
$allModulePaths = glob($modulePath . '*/*');
164164
if (empty($enabledModules)) {
165165
$this->enabledModulePaths = $allModulePaths;
166166
return $this->enabledModulePaths;

0 commit comments

Comments
 (0)