Skip to content

Commit 1f9609c

Browse files
committed
use --force
Older versions of WordPress already have this installed (!) We want to force this older version since we know there will be updates.
1 parent 130dcd6 commit 1f9609c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/theme.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@ 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`
213+
When I run `wp theme install twentythirteen --version=1.1 --force`
214214
Then STDOUT should contain:
215215
"""
216-
Theme installed successfully.
216+
Installed 1 of 1 themes
217217
"""
218218

219219
When I run `wp theme list --fields=name,status,update`

0 commit comments

Comments
 (0)