File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,11 +186,14 @@ public function testUnixInstallCanInstallPrePackagedBinary(string $phpConfig): v
186186 $ output ,
187187 );
188188
189+ if (! file_exists (self ::TEST_PREBUILT_PATH )) {
190+ mkdir (self ::TEST_PREBUILT_PATH , 0777 , true );
191+ }
192+
189193 /**
190194 * Move the built .so into a new path; this simulates a pre-packaged binary, which would not have Makefile etc
191195 * so this ensures we're not accidentally relying on any build mechanism (`make install` or otherwise)
192196 */
193- mkdir (self ::TEST_PREBUILT_PATH , 0777 , true );
194197 $ prebuiltBinaryFilePath = self ::TEST_PREBUILT_PATH . DIRECTORY_SEPARATOR . 'pie_test_ext.so ' ;
195198 rename ($ built ->filePath , $ prebuiltBinaryFilePath );
196199
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testInvalidVendorDirectory(): void
5858 ->expects (self ::once ())
5959 ->method ('write ' )
6060 ->with (
61- '<comment>Vendor directory (vendor-dir config) /path/that/does/not/exist seemed invalid?</comment> ' ,
61+ '<comment>Vendor directory (vendor-dir config) /path/that/does/not/exist seemed invalid? An error occurred </comment> ' ,
6262 true ,
6363 IOInterface::VERY_VERBOSE ,
6464 );
You can’t perform that action at this time.
0 commit comments