Skip to content

Commit 67472f5

Browse files
committed
MQE-1711: Switch between Developer mode and Production mode takes long time and the test end up time out
fixed issue with signature of magentoCLI
1 parent d4faf13 commit 67472f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,14 +838,14 @@ public function makeScreenshot($name = null)
838838
* Takes given $command and executes it against bin/magento executable. Returns stdout output from the command.
839839
*
840840
* @param string $command
841-
* @param string $arguments
842841
* @param integer $timeout
842+
* @param string $arguments
843843
*
844844
* @throws \RuntimeException
845845
* @return string
846846
* @SuppressWarnings(PHPMD.UnusedPrivateMethod)
847847
*/
848-
private function shellExecMagentoCLI($command, $arguments, $timeout = 60): string
848+
private function shellExecMagentoCLI($command, $timeout, $arguments): string
849849
{
850850
$php = PHP_BINDIR ? PHP_BINDIR . DIRECTORY_SEPARATOR. 'php' : 'php';
851851
$binMagento = realpath(MAGENTO_BP . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . 'magento');

0 commit comments

Comments
 (0)