We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c815ae4 commit 50c4a75Copy full SHA for 50c4a75
features/plugin-list.feature
@@ -53,4 +53,12 @@ Feature: List WordPress plugins
53
When I run `wp plugin list --fields=name,status,update --force-check`
54
Then STDOUT should be a table containing rows:
55
| name | status | update |
56
- | hello-dolly | inactive | none |
+ | hello-dolly | inactive | none |
57
+
58
+ When I try `wp plugin list --skip-update-check --force-check`
59
+ Then STDERR should contain:
60
+ """
61
+ Error: plugin updates cannot be both force-checked and skipped. Choose one.
62
63
+ And STDOUT should be empty
64
+ And the return code should be 1
0 commit comments