Skip to content

Commit bfcae61

Browse files
committed
Fix: version issue of twentytwelve theme of theme-update test
1 parent d03027f commit bfcae61

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

features/theme-update.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Feature: Update WordPress themes
126126

127127
Scenario: Update a theme to its latest minor release
128128
Given a WP install
129-
And I run `wp theme install --force twentytwelve --version=2.5.4`
129+
And I run `wp theme install --force twentytwelve --version=3.0`
130130

131131
When I run `wp theme update twentytwelve --minor`
132132
Then STDOUT should contain:
@@ -137,12 +137,12 @@ Feature: Update WordPress themes
137137
When I run `wp theme get twentytwelve --field=version`
138138
Then STDOUT should be:
139139
"""
140-
2.6.1
140+
3.9
141141
"""
142142

143143
Scenario: Update a theme to its latest patch release
144144
Given a WP install
145-
And I run `wp theme install --force twentytwelve --version=0.5`
145+
And I run `wp theme install --force twentytwelve --version=1.1`
146146

147147
When I run `wp theme update twentytwelve --patch`
148148
Then STDOUT should contain:
@@ -153,5 +153,5 @@ Feature: Update WordPress themes
153153
When I run `wp theme get twentytwelve --field=version`
154154
Then STDOUT should be:
155155
"""
156-
0.5.2
156+
1.1.1
157157
"""

0 commit comments

Comments
 (0)