File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
dev/tests/integration/framework/Magento/TestFramework Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ public function cleanup()
426426 * @see \Magento\Setup\Mvc\Bootstrap\InitParamListener::BOOTSTRAP_PARAM
427427 */
428428 $ this ->_shell ->execute (
429- ' php -f %s setup:uninstall -n --magento-init-params=%s ' ,
429+ PHP_BINARY . ' -f %s setup:uninstall -n --magento-init-params=%s ' ,
430430 [BP . '/bin/magento ' , $ this ->getInitParamsQuery ()]
431431 );
432432 }
@@ -459,15 +459,15 @@ public function install()
459459
460460 // run install script
461461 $ this ->_shell ->execute (
462- ' php -f %s setup:install ' . implode (' ' , array_keys ($ installParams )),
462+ PHP_BINARY . ' -f %s setup:install ' . implode (' ' , array_keys ($ installParams )),
463463 array_merge ([BP . '/bin/magento ' ], array_values ($ installParams ))
464464 );
465465
466466 // enable only specified list of caches
467467 $ initParamsQuery = $ this ->getInitParamsQuery ();
468- $ this ->_shell ->execute (' php -f %s cache:disable --bootstrap=%s ' , [BP . '/bin/magento ' , $ initParamsQuery ]);
468+ $ this ->_shell ->execute (PHP_BINARY . ' -f %s cache:disable --bootstrap=%s ' , [BP . '/bin/magento ' , $ initParamsQuery ]);
469469 $ this ->_shell ->execute (
470- ' php -f %s cache:enable %s %s %s %s --bootstrap=%s ' ,
470+ PHP_BINARY . ' -f %s cache:enable %s %s %s %s --bootstrap=%s ' ,
471471 [
472472 BP . '/bin/magento ' ,
473473 \Magento \Framework \App \Cache \Type \Config::TYPE_IDENTIFIER ,
You can’t perform that action at this time.
0 commit comments