We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dfb85e commit 99d3797Copy full SHA for 99d3797
src/Magento/AcceptanceTestFramework/Util/ModuleResolver.php
@@ -159,8 +159,8 @@ public function getModulesPath()
159
}
160
161
$enabledModules = $this->getEnabledModules();
162
- $modulePath = FW_BP . '/src/Magento/AcceptanceTestFramework';
163
- $allModulePaths = glob($modulePath . '/*');
+ $modulePath = defined('TESTS_MODULE_PATH') ? TESTS_MODULE_PATH : TESTS_BP;
+ $allModulePaths = glob($modulePath . '*/*');
164
if (empty($enabledModules)) {
165
$this->enabledModulePaths = $allModulePaths;
166
return $this->enabledModulePaths;
0 commit comments