File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ public function __construct(
116
116
$ this ->driverFile = $ driverFile ;
117
117
$ this ->storeView = $ storeView ;
118
118
$ this ->shell = $ shell ;
119
- $ this ->functionCallPath = 'php -f ' . BP . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'magento ' ;
119
+ $ this ->functionCallPath =
120
+ PHP_BINARY . ' -f ' . BP . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'magento ' ;
120
121
}
121
122
122
123
/**
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ protected function setUp()
121
121
$ userCollection ->setAccessible (true );
122
122
$ userCollection ->setValue ($ this ->filesystem , $ this ->userCollectionMock );
123
123
124
- $ this ->cmdPrefix = ' php -f ' . BP . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'magento ' ;
124
+ $ this ->cmdPrefix = PHP_BINARY . ' -f ' . BP . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'magento ' ;
125
125
}
126
126
127
127
public function testRegenerateStatic ()
You can’t perform that action at this time.
0 commit comments