@@ -1028,7 +1028,7 @@ Feature: Install WP-CLI packages
10281028 }
10291029 """
10301030 And I run `php -r '$zip = new ZipArchive(); $zip->open( "remote-zip-test-command.zip", ZipArchive::CREATE | ZipArchive::OVERWRITE ); $zip->addFromString( "remote-zip-test-command/composer.json", file_get_contents( "remote-zip-test-command/composer.json" ) ); $zip->close();'`
1031- And I launch in the background `php -S localhost:8080 -t .`
1031+ And a PHP built- in web server
10321032
10331033 When I run `wp package install http://localhost:8080/remote-zip-test-command.zip`
10341034 Then STDOUT should contain:
@@ -1056,7 +1056,7 @@ Feature: Install WP-CLI packages
10561056 }
10571057 """
10581058 And I run `php -r '$zip = new ZipArchive(); $zip->open( "remote-zip-flat-command.zip", ZipArchive::CREATE | ZipArchive::OVERWRITE ); $zip->addFromString( "composer.json", file_get_contents( "composer-flat.json" ) ); $zip->close();'`
1059- And I launch in the background `php -S localhost:8080 -t .`
1059+ And a PHP built- in web server
10601060
10611061 When I run `wp package install http://localhost:8080/remote-zip-flat-command.zip`
10621062 Then STDOUT should contain:
@@ -1079,7 +1079,7 @@ Feature: Install WP-CLI packages
10791079 """
10801080 this is not a zip archive
10811081 """
1082- And I launch in the background `php -S localhost:8080 -t .`
1082+ And a PHP built- in web server
10831083
10841084 When I try `wp package install http://localhost:8080/invalid.zip`
10851085 Then the return code should be 1
@@ -1090,7 +1090,7 @@ Feature: Install WP-CLI packages
10901090
10911091 Scenario: Install from a remote zip URL that returns 404
10921092 Given an empty directory
1093- And I launch in the background `php -S localhost:8080 -t .`
1093+ And a PHP built- in web server
10941094
10951095 When I try `wp package install http://localhost:8080/missing.zip`
10961096 Then the return code should be 1
0 commit comments