@@ -210,16 +210,16 @@ Feature: Manage WordPress themes
210210 Scenario : Flag `--skip-update-check` skips update check when running `wp theme list`
211211 Given a WP install
212212
213- When I run `wp theme install twentythirteen --version=1.1 --force `
213+ When I run `wp theme install twentyten --version=4.0 `
214214 Then STDOUT should contain:
215215 """
216216 Installed 1 of 1 themes
217217 """
218218
219219 When I run `wp theme list --fields=name,status,update`
220220 Then STDOUT should be a table containing rows:
221- | name | status | update |
222- | twentythirteen | inactive | available |
221+ | name | status | update |
222+ | twentyten | inactive | available |
223223
224224 When I run `wp transient delete update_themes --network`
225225 Then STDOUT should be:
@@ -229,8 +229,8 @@ Feature: Manage WordPress themes
229229
230230 When I run `wp theme list --fields=name,status,update --skip-update-check`
231231 Then STDOUT should be a table containing rows:
232- | name | status | update |
233- | twentythirteen | inactive | none |
232+ | name | status | update |
233+ | twentyten | inactive | none |
234234
235235 Scenario : Install a theme when the theme directory doesn't yet exist
236236 Given a WP install
@@ -284,6 +284,7 @@ Feature: Manage WordPress themes
284284 Theme updated successfully.
285285 """
286286
287+ @require-wp-5.7
287288 Scenario : Enabling and disabling a theme
288289 Given a WP multisite install
289290 And I run `wp theme install moina`
@@ -379,6 +380,7 @@ Feature: Manage WordPress themes
379380 And STDOUT should be empty
380381 And the return code should be 1
381382
383+ @require-wp-5.7
382384 Scenario : Install and attempt to activate a child theme without its parent
383385 Given a WP install
384386 And I run `wp theme install moina-blog`
@@ -392,6 +394,7 @@ Feature: Manage WordPress themes
392394 And STDOUT should be empty
393395 And the return code should be 1
394396
397+ @require-wp-5.7
395398 Scenario : List an active theme with its parent
396399 Given a WP install
397400 And I run `wp theme install moina`
@@ -470,6 +473,7 @@ Feature: Manage WordPress themes
470473 twentytwelve,1.0,{UPDATE_VERSION},Updated
471474 """
472475
476+ @require-wp-5.7
473477 Scenario : Automatically install parent theme for a child theme
474478 Given a WP install
475479
@@ -579,7 +583,7 @@ Feature: Manage WordPress themes
579583 Error: Parameter errors:
580584 Invalid value specified for 'status' (Filter the output by theme status.)
581585 """
582-
586+ @require-wp-5.7
583587 Scenario : Parent theme is active when its child is active
584588 Given a WP install
585589 And I run `wp theme delete --all --force`
@@ -621,7 +625,6 @@ Feature: Manage WordPress themes
621625 | auto_update |
622626 | on |
623627
624- @require-php-7
625628 Scenario : Show theme update as unavailable if it doesn't meet WordPress requirements
626629 Given a WP install
627630 And a wp-content/themes/example/style.css file:
0 commit comments