Skip to content

Commit

Permalink
Undo another change
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 10, 2023
1 parent 72ee662 commit fe58d33
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions features/plugin-activate.feature
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ Feature: Activate WordPress plugins
} );
"""

# Uses "try" because the SQLite plugin attempts to do a redirect.
# See https://github.com/WordPress/sqlite-database-integration/issues/49
When I try `wp plugin activate --all`
When I run `wp plugin activate --all`
Then STDOUT should contain:
"""
Plugin 'akismet' activated.
Expand Down Expand Up @@ -134,9 +132,10 @@ Feature: Activate WordPress plugins

Scenario: Adding --exclude with plugin activate --all should exclude the plugins specified via --exclude
When I try `wp plugin activate --all --exclude=hello`
Then STDOUT should contain:
Then STDOUT should be:
"""
Plugin 'akismet' activated.
Success: Activated 1 of 1 plugins.
"""
And the return code should be 0

Expand All @@ -149,4 +148,3 @@ Feature: Activate WordPress plugins
Success:
"""
And the return code should be 0

0 comments on commit fe58d33

Please sign in to comment.