Skip to content

Commit d197330

Browse files
committed
Make plugin uninstall test compat with BC break.
1 parent 7edee61 commit d197330

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

features/plugin.feature

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,20 @@ Feature: Manage WordPress plugins
9292
And the {PLUGIN_DIR}/zombieland file should not exist
9393

9494
When I try the previous command again
95-
Then STDERR should be:
95+
Then STDERR should contain:
9696
"""
97-
Warning: The 'Zombieland' plugin could not be found.
97+
Warning:
9898
"""
99-
And STDOUT should be:
99+
And STDERR should contain:
100100
"""
101-
Success: Plugin already uninstalled.
101+
Zombieland
102102
"""
103-
And the return code should be 0
103+
And STDERR should contain:
104+
"""
105+
Error: No plugins uninstalled.
106+
"""
107+
And STDOUT should be empty
108+
And the return code should be 1
104109

105110
Scenario: Install a plugin, activate, then force install an older version of the plugin
106111
Given a WP install

0 commit comments

Comments
 (0)