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 b208326 commit a05c307Copy full SHA for a05c307
dev/tests/functional/lib/Magento/Mtf/Util/Command/Cli.php
@@ -59,14 +59,6 @@ public function execute($command, $options = [])
59
private function prepareUrl($command, $options = [])
60
{
61
$command .= ' ' . implode(' ', $options);
62
- // replacing index.php if it presents
63
- $count = 1;
64
- $trimmedAppFrontendUrl = str_replace(
65
- 'index.php',
66
- '',
67
- rtrim($_ENV['app_frontend_url'], '/'),
68
- $count
69
- );
70
- return $trimmedAppFrontendUrl . self::URL . '?command=' . urlencode($command);
+ return $_ENV['app_frontend_url'] . self::URL . '?command=' . urlencode($command);
71
}
72
0 commit comments