File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -500,26 +500,24 @@ Feature: Manage WordPress plugins
500500
501501 When I run `wp plugin list --fields=name`
502502 Then STDOUT should not contain:
503- """
504- query-monitor
505- """
503+ """
504+ query-monitor
505+ """
506506
507507 Scenario : Show dropins plugin list
508508 Given a WP install
509+ And a wp-content/db-error.php file:
510+ """
511+ <?php
512+ """
509513
510- When I run `rm -rf wp-content/plugins`
511- And I run `if test -d wp-content/plugins; then echo "fail" ; fi`
512- Then STDOUT should be empty
513-
514- When I run `wp plugin install query-monitor --activate`
515- Then STDOUT should not be empty
516-
517- When I run `wp plugin list --status=active --fields=name,status`
518- Then STDOUT should be a table containing rows:
519- | name | status |
520- | query -monitor | active |
514+ When I run `wp plugin list --status=active`
515+ Then STDOUT should not contain:
516+ """
517+ db-error.php
518+ """
521519
522520 When I run `wp plugin list --status=dropin --fields=name,title,description`
523521 Then STDOUT should be a table containing rows:
524- | name | title | description |
525- | db .php | Query Monitor Database Class | Custom database class . |
522+ | name | title | description |
523+ | db - error .php | | Custom database error message . |
You can’t perform that action at this time.
0 commit comments