Skip to content

Commit 76ee8dc

Browse files
Copilotswissspidy
andcommitted
Fix test: activate plugin before deactivating in test scenario
Co-authored-by: swissspidy <[email protected]>
1 parent 81943ba commit 76ee8dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/plugin-is-active.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ Feature: Check if a WordPress plugin is active
1414
Then the return code should be 0
1515

1616
Scenario: Check if an inactive plugin is not active
17+
When I run `wp plugin activate akismet`
18+
Then STDOUT should contain:
19+
"""
20+
Success:
21+
"""
22+
1723
When I run `wp plugin deactivate akismet`
1824
Then STDOUT should contain:
1925
"""

0 commit comments

Comments
 (0)