Skip to content

Commit 2f63a6f

Browse files
Nikschavanschlessera
authored andcommitted
Delete extra plugins
1 parent c775d38 commit 2f63a6f

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

features/plugin.feature

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,15 @@ Feature: Manage WordPress plugins
350350
Plugin installed successfully.
351351
"""
352352

353-
When I run `wp plugin list --fields=name,status,update`
353+
When I run `wp plugin delete akismet hello`
354+
Then STDOUT should contain:
355+
"""
356+
Deleted 2 of 2 plugins.
357+
"""
358+
359+
When I run `wp plugin list --fields=name,status,update --status=inactive`
354360
Then STDOUT should be a table containing rows:
355-
| name | status | update |
361+
| name | status | update |
356362
| wordpress-importer | inactive | available |
357363

358364
When I run `wp transient delete update_themes --network`
@@ -361,9 +367,9 @@ Feature: Manage WordPress plugins
361367
Success: Transient deleted.
362368
"""
363369

364-
When I run `wp plugin list --fields=name,status,update --skip-update-check`
370+
When I run `wp plugin list --fields=name,status,update --status=inactive --skip-update-check`
365371
Then STDOUT should be a table containing rows:
366-
| name | status | update |
372+
| name | status | update |
367373
| wordpress-importer | inactive | none |
368374

369375
Scenario: Install a plugin when directory doesn't yet exist

0 commit comments

Comments
 (0)