Skip to content

Commit d2f6f9c

Browse files
committed
MQE-841: robo generate:tests --force should not require MAGENTO_BASE_URL
- missed $ENV to getenv() fix.
1 parent f3a02c3 commit d2f6f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Util/ModuleResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private function getEnabledDirectoryPaths($enabledModules, $allModulePaths)
322322
*/
323323
private function printMagentoVersionInfo()
324324
{
325-
$url = ConfigSanitizerUtil::sanitizeUrl($_ENV['MAGENTO_BASE_URL']) . $this->versionUrl;
325+
$url = ConfigSanitizerUtil::sanitizeUrl(getenv('MAGENTO_BASE_URL')) . $this->versionUrl;
326326
print "Fetching version information from {$url}";
327327
$ch = curl_init($url);
328328
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");

0 commit comments

Comments
 (0)