@@ -52,7 +52,7 @@ Feature: Update WordPress themes
5252 """
5353
5454 # One theme installed.
55- Given I run `wp theme install twentytwelve --version=1.4 `
55+ Given I run `wp theme install moina --version=1.0.2 `
5656
5757 When I try `wp theme update`
5858 Then the return code should be 1
@@ -75,7 +75,7 @@ Feature: Update WordPress themes
7575 """
7676
7777 # Note: if given version then re-installs.
78- When I run `wp theme update --version=1.4 --all`
78+ When I run `wp theme update --version=1.0.2 --all`
7979 Then STDOUT should contain:
8080 """
8181 Success: Installed 1 of 1 themes.
@@ -88,7 +88,7 @@ Feature: Update WordPress themes
8888 """
8989
9090 # Two themes installed.
91- Given I run `wp theme install --force twentytwentyfour --version=1.1 `
91+ Given I run `wp theme install --force twentytwelve --version=1.0 `
9292
9393 When I run `wp theme update --all`
9494 Then STDOUT should contain:
@@ -104,16 +104,15 @@ Feature: Update WordPress themes
104104 """
105105
106106 # Using version with all rarely makes sense and should probably error and do nothing.
107- # Version 1.1.1 is available for twentytwelve but not for twentytwentyfour.
108- When I try `wp theme update --version=1.1.1 --all`
107+ When I try `wp theme update --version=1.0.3 --all`
109108 Then the return code should be 1
110109 And STDOUT should contain:
111110 """
112111 Success: Installed 1 of 1 themes.
113112 """
114113 And STDERR should be:
115114 """
116- Error: Can't find the requested theme's version 1.1.1 in the WordPress.org theme repository (HTTP code 404).
115+ Error: Can't find the requested theme's version 1.0.3 in the WordPress.org theme repository (HTTP code 404).
117116 """
118117
119118 Scenario : Error when both --minor and --patch are provided
0 commit comments