We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e332d commit f63cd84Copy full SHA for f63cd84
src/Magento/FunctionalTestingFramework/Util/ModuleResolver.php
@@ -534,7 +534,13 @@ private function getModuleBlacklist()
534
private function getRegisteredModuleList()
535
{
536
if (array_key_exists('MAGENTO_BP', $_ENV)) {
537
- require_once(MAGENTO_BP . "/app/autoload.php");
+ $autoloadPath = realpath(MAGENTO_BP . "/app/autoload.php");
538
+ if ($autoloadPath) {
539
+ require_once($autoloadPath);
540
+ } else {
541
+ throw new TestFrameworkException("Magento app/autoload.php not found with given MAGENTO_BP:"
542
+ . MAGENTO_BP);
543
+ }
544
}
545
546
try {
0 commit comments