Skip to content

Commit 7da1831

Browse files
xmavValeriy Nayda
authored andcommitted
MAGETWO-64889: [Performance] Optimize "Is Salable" check on Category page for Configurable Product
- Fix installation functional tests
1 parent b3d6462 commit 7da1831

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

dev/tests/functional/utils/command.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,9 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
$commandList = [
8-
'cache:flush',
9-
'cache:disable',
10-
'cache:enable',
11-
];
12-
137
if (isset($_GET['command'])) {
148
$command = urldecode($_GET['command']);
15-
if (in_array($command, $commandList)) {
16-
exec('php -f ../../../../bin/magento ' . $command);
17-
}
9+
exec('php -f ../../../../bin/magento ' . $command);
1810
} else {
1911
throw new \InvalidArgumentException("Command GET parameter is not set.");
2012
}

0 commit comments

Comments
 (0)