@@ -35,63 +35,63 @@ Feature: Update WordPress core
3535 Given a WP install
3636 And I try `wp theme install twentytwenty --activate`
3737
38- When I run `wp core download --version=6.0 --force`
38+ When I run `wp core download --version=6.6 --force`
3939 Then STDOUT should not be empty
4040
4141 When I run `wp eval 'echo $GLOBALS["wp_version"];' `
4242 Then STDOUT should be:
4343 """
44- 6.0
44+ 6.6
4545 """
4646
47- When I run `wget http://wordpress.org/wordpress-6.1 .zip --quiet`
48- And I run `wp core update wordpress-6.1 .zip --format=json`
47+ When I run `wget http://wordpress.org/wordpress-6.8 .zip --quiet`
48+ And I run `wp core update wordpress-6.8 .zip --format=json`
4949 Then STDOUT should be:
5050 """
51- [{"name":"core","old_version":"6.0 ","new_version":"6.1 ","status":"Updated"}]
51+ [{"name":"core","old_version":"6.6 ","new_version":"6.8 ","status":"Updated"}]
5252 """
5353
5454 @require-php-7.0
5555 Scenario : Output in CSV format
5656 Given a WP install
5757 And I try `wp theme install twentytwenty --activate`
5858
59- When I run `wp core download --version=6.0 --force`
59+ When I run `wp core download --version=6.6 --force`
6060 Then STDOUT should not be empty
6161
6262 When I run `wp eval 'echo $GLOBALS["wp_version"];' `
6363 Then STDOUT should be:
6464 """
65- 6.0
65+ 6.6
6666 """
6767
68- When I run `wget http://wordpress.org/wordpress-6.1 .zip --quiet`
69- And I run `wp core update wordpress-6.1 .zip --format=csv`
68+ When I run `wget http://wordpress.org/wordpress-6.8 .zip --quiet`
69+ And I run `wp core update wordpress-6.8 .zip --format=csv`
7070 Then STDOUT should be:
7171 """
7272 name,old_version,new_version,status
73- core,6.0 ,6.1 ,Updated
73+ core,6.6 ,6.8 ,Updated
7474 """
7575
7676 @require-php-7.0
7777 Scenario : Output in table format
7878 Given a WP install
7979 And I try `wp theme install twentytwenty --activate`
8080
81- When I run `wp core download --version=6.0 --force`
81+ When I run `wp core download --version=6.6 --force`
8282 Then STDOUT should not be empty
8383
8484 When I run `wp eval 'echo $GLOBALS["wp_version"];' `
8585 Then STDOUT should be:
8686 """
87- 6.0
87+ 6.6
8888 """
8989
90- When I run `wget http://wordpress.org/wordpress-6.1 .zip --quiet`
91- And I run `wp core update wordpress-6.1 .zip --format=table`
90+ When I run `wget http://wordpress.org/wordpress-6.8 .zip --quiet`
91+ And I run `wp core update wordpress-6.8 .zip --format=table`
9292 Then STDOUT should end with a table containing rows:
9393 | name | old_version | new_version | status |
94- | core | 6 .0 | 6 .1 | Updated |
94+ | core | 6 .6 | 6 .8 | Updated |
9595
9696 # This test downgrades to an older WordPress version, but the SQLite plugin requires 6.4+
9797 @require-mysql
0 commit comments