Skip to content

Commit a05c307

Browse files
committed
MQE-1174: Deliver weekly regression enablement tests
- Undo changes to Cli.php
1 parent b208326 commit a05c307

File tree

1 file changed

+1
-9
lines changed
  • dev/tests/functional/lib/Magento/Mtf/Util/Command

1 file changed

+1
-9
lines changed

dev/tests/functional/lib/Magento/Mtf/Util/Command/Cli.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ public function execute($command, $options = [])
5959
private function prepareUrl($command, $options = [])
6060
{
6161
$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);
62+
return $_ENV['app_frontend_url'] . self::URL . '?command=' . urlencode($command);
7163
}
7264
}

0 commit comments

Comments
 (0)