Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions features/plugin-update.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ Feature: Update WordPress plugins
Given a WP install

When I run `wp plugin install wordpress-importer --version=0.5 --force`
Then STDOUT should not be empty
Then STDOUT should contain:
"""
Success:
"""

When I run `wp plugin list --name=wordpress-importer --field=update_version`
Then STDOUT should not be empty
Then STDOUT should be:
"""
1234
"""
And save STDOUT as {UPDATE_VERSION}

When I run `wp plugin list`
Expand Down