@@ -61,7 +61,7 @@ Feature: Manage WordPress plugins
61
61
When I run `wp plugin status`
62
62
Then STDOUT should not be empty
63
63
64
- When I run `wp plugin list`
64
+ When I run `wp plugin list --fields=name,status,update,version,update_version,auto_update `
65
65
Then STDOUT should be a table containing rows:
66
66
| name | status | update | version | update_version | auto_update |
67
67
| Zombieland | active | none | 0 .1 .0 | | off |
@@ -107,7 +107,8 @@ Feature: Manage WordPress plugins
107
107
And STDOUT should be empty
108
108
And the return code should be 1
109
109
110
- @require-wp-4.0
110
+ # WordPress Importer currently requires at least WP 5.2.
111
+ @require-wp-5.2
111
112
Scenario : Install a plugin, activate, then force install an older version of the plugin
112
113
Given a WP install
113
114
@@ -579,12 +580,13 @@ Feature: Manage WordPress plugins
579
580
"""
580
581
And the return code should be 0
581
582
582
- @require-wp-4.7
583
+ # Akismet currently requires WordPress 5.8, so there's a warning because of it.
584
+ @require-wp-5.8
583
585
Scenario : Plugin hidden by "all_plugins" filter
584
586
Given a WP install
585
587
And these installed and active plugins:
586
588
"""
587
- akismet
589
+ hello-dolly
588
590
site-secrets
589
591
"""
590
592
And a wp-content/mu-plugins/hide-us-plugin.php file:
@@ -753,7 +755,7 @@ Feature: Manage WordPress plugins
753
755
"""
754
756
And I run `wp plugin activate foo`
755
757
756
- When I run `wp plugin list`
758
+ When I run `wp plugin list --fields=name,status,update,version,update_version,auto_update `
757
759
Then STDOUT should be a table containing rows:
758
760
| name | status | update | version | update_version | auto_update |
759
761
| foo | active | none | | | off |
@@ -795,7 +797,7 @@ Feature: Manage WordPress plugins
795
797
"""
796
798
And I run `wp plugin activate foo`
797
799
798
- When I run `wp plugin list`
800
+ When I run `wp plugin list --fields=name,status,update,version,update_version,auto_update `
799
801
Then STDOUT should be a table containing rows:
800
802
| name | status | update | version | update_version | auto_update |
801
803
| foo | active | none | | | off |
0 commit comments