Skip to content

Commit aad392f

Browse files
committed
Fix test
1 parent 0b1e287 commit aad392f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

features/plugin.feature

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,10 @@ Feature: Manage WordPress plugins
300300

301301
Scenario: Network activate all plugins when some are already active on a single site
302302
Given a WP multisite install
303+
And I run `wp plugin delete --all`
303304

304-
When I run `wp plugin install wordpress-importer --activate`
305+
When I run `wp plugin install debug-bar`
306+
And I run `wp plugin install wordpress-importer --activate`
305307
Then STDOUT should contain:
306308
"""
307309
Plugin 'wordpress-importer' activated.
@@ -310,13 +312,13 @@ Feature: Manage WordPress plugins
310312
When I run `wp plugin list --fields=name,status`
311313
Then STDOUT should be a table containing rows:
312314
| name | status |
313-
| akismet | inactive |
315+
| debug-bar | inactive |
314316
| wordpress-importer | active |
315317

316318
When I run `wp plugin activate --all --network`
317319
Then STDOUT should contain:
318320
"""
319-
Plugin 'akismet' network activated.
321+
Plugin 'debug-bar' network activated.
320322
"""
321323
And STDOUT should contain:
322324
"""
@@ -330,7 +332,7 @@ Feature: Manage WordPress plugins
330332
When I run `wp plugin list --fields=name,status`
331333
Then STDOUT should be a table containing rows:
332334
| name | status |
333-
| akismet | active-network |
335+
| debug-bar | active-network |
334336
| wordpress-importer | active-network |
335337

336338
Scenario: List plugins

0 commit comments

Comments
 (0)