Skip to content

Commit 130dcd6

Browse files
committed
Use twentythirteen for this test
Astra requires at least WordPress 5.3 so this test no longer applies since we flag the update as unavailable. Switch to twentythirteen which has lower WP requriements and is better to use for testing old versions
1 parent 351a2ec commit 130dcd6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

features/theme.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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 astra --version=1.0.0`
213+
When I run `wp theme install twentythirteen --version=1.1`
214214
Then STDOUT should contain:
215215
"""
216216
Theme installed successfully.
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-
| astra | inactive | available |
221+
| name | status | update |
222+
| twentythirteen | 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-
| astra | inactive | none |
232+
| name | status | update |
233+
| twentythirteen | inactive | none |
234234

235235
Scenario: Install a theme when the theme directory doesn't yet exist
236236
Given a WP install

0 commit comments

Comments
 (0)