@@ -15,7 +15,7 @@ Feature: Download WordPress
1515 When I run `wp core download`
1616 And save STDOUT 'Downloading WordPress ([\d\. ]+)' as {VERSION}
1717 Then the wp-settings.php file should exist
18- And the {SUITE_CACHE_DIR}/core/wordpress-{VERSION}-en_US.tar.gz file should exist
18+ And the {SUITE_CACHE_DIR}/core/wordpress-{VERSION}-en_US.zip file should exist
1919
2020 When I run `mkdir inner`
2121 And I run `cd inner && wp core download`
@@ -40,7 +40,7 @@ Feature: Download WordPress
4040 Then the wp-settings.php file should exist
4141 And STDOUT should contain:
4242 """
43- Using cached file '{SUITE_CACHE_DIR}/core/wordpress-{VERSION}-en_US.tar.gz '...
43+ Using cached file '{SUITE_CACHE_DIR}/core/wordpress-{VERSION}-en_US.zip '...
4444 """
4545
4646 Scenario : Localized install
@@ -49,7 +49,7 @@ Feature: Download WordPress
4949 When I run `wp core download --version=4.4.2 --locale=de_DE`
5050 And save STDOUT 'Downloading WordPress ([\d\. ]+)' as {VERSION}
5151 Then the wp-settings.php file should exist
52- And the {SUITE_CACHE_DIR}/core/wordpress-{VERSION}-de_DE.tar.gz file should exist
52+ And the {SUITE_CACHE_DIR}/core/wordpress-{VERSION}-de_DE.zip file should exist
5353
5454 Scenario : Error when requested locale is not available for the latest version
5555 Given an empty directory
@@ -150,7 +150,7 @@ Feature: Download WordPress
150150 When I run `wp core download --version=4.4.1`
151151 Then STDOUT should contain:
152152 """
153- md5 hash verified: 1907d1dbdac7a009d89224a516496b8d
153+ md5 hash verified: 0c87de03eb3d76467cd0d3ab7268f1fd
154154 Success: WordPress downloaded.
155155 """
156156
@@ -328,7 +328,7 @@ Feature: Download WordPress
328328 And STDOUT should contain:
329329 """
330330 Downloading WordPress 4.6-RC2 (en_US)...
331- md5 hash verified: 90c93a15092b2d5d4c960ec1fc183e07
331+ md5 hash verified: dbf4a8fe1c54d1e3e28532402da9a743
332332 Success: WordPress downloaded.
333333 """
334334
@@ -344,8 +344,8 @@ Feature: Download WordPress
344344
345345 When I run `wp core version`
346346 Then save STDOUT as {VERSION}
347- And the {SUITE_CACHE_DIR}/core/wordpress-latest-en_US.tar.gz file should not exist
348- And the {SUITE_CACHE_DIR}/core/wordpress-{VERSION}-en_US.tar.gz file should exist
347+ And the {SUITE_CACHE_DIR}/core/wordpress-latest-en_US.zip file should not exist
348+ And the {SUITE_CACHE_DIR}/core/wordpress-{VERSION}-en_US.zip file should exist
349349
350350 Scenario : Fail if path can't be created
351351 Given an empty directory
@@ -503,14 +503,14 @@ Feature: Download WordPress
503503
504504 When I run `wp core download --version=4.5 --locale=de_DE`
505505 Then the wp-content directory should exist
506- And the wordpress-4.5-de_DE.tar.gz file should not exist
506+ And the wordpress-4.5-de_DE.zip file should not exist
507507
508508 Scenario : Core download with extract parameter should unzip the download file
509509 Given an empty directory
510510
511511 When I run `wp core download --version=4.5 --locale=de_DE --extract`
512512 Then the wp-content directory should exist
513- And the wordpress-4.5-de_DE.tar.gz file should not exist
513+ And the wordpress-4.5-de_DE.zip file should not exist
514514
515515 Scenario : Core download with extract parameter should unzip the download file (already cached)
516516 Given an empty directory
@@ -519,23 +519,23 @@ Feature: Download WordPress
519519 And I run `rm -rf *`
520520 And I run `wp core download --version=4.5 --locale=de_DE --extract`
521521 Then the wp-content directory should exist
522- And the wordpress-4.5-de_DE.tar.gz file should not exist
522+ And the wordpress-4.5-de_DE.zip file should not exist
523523
524524 Scenario : Core download with no-extract should not unzip the download file
525525 Given an empty directory
526526
527527 When I run `wp core download --version=4.5 --locale=de_DE --no-extract`
528528 Then the wp-content directory should not exist
529- And the wordpress-4.5-de_DE.tar.gz file should exist
529+ And the wordpress-4.5-de_DE.zip file should exist
530530
531531 Scenario : Core download with no-extract should not unzip the download file (already cached)
532532 Given an empty directory
533533
534534 When I run `wp core download --version=4.5 --locale=de_DE --no-extract`
535- And I run `rm -rf wordpress-4.5-de_DE.tar.gz `
535+ And I run `rm -rf wordpress-4.5-de_DE.zip `
536536 And I run `wp core download --version=4.5 --locale=de_DE --no-extract`
537537 Then the wp-content directory should not exist
538- And the wordpress-4.5-de_DE.tar.gz file should exist
538+ And the wordpress-4.5-de_DE.zip file should exist
539539
540540 Scenario : Error when using both --skip-content and --no-extract
541541 Given an empty directory
0 commit comments