Skip to content

Commit 253caf9

Browse files
committed
fix upgradables.feature test for plugin command
1 parent 15b501c commit 253caf9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

features/upgradables.feature

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,14 @@ Feature: Manage WordPress themes and plugins
5151
"<item_title>"
5252
"""
5353

54+
When I run `wp <type> list --name=<item> --field=update_version`
55+
Then STDOUT should not be empty
56+
And save STDOUT as {UPDATE_VERSION}
57+
5458
When I run `wp <type> list`
5559
Then STDOUT should be a table containing rows:
56-
| name | status | update | version |
57-
| <item> | inactive | available | <version> |
60+
| name | status | update | version | update_version |
61+
| <item> | inactive | available | <version> | {UPDATE_VERSION} |
5862

5963
When I run `wp <type> list --field=name`
6064
Then STDOUT should contain:

0 commit comments

Comments
 (0)