diff --git a/features/plugin-activate.feature b/features/plugin-activate.feature index 217fc731..e0c86d20 100644 --- a/features/plugin-activate.feature +++ b/features/plugin-activate.feature @@ -13,18 +13,18 @@ Feature: Activate WordPress plugins And the return code should be 0 Scenario: Attempt to activate a plugin that's not installed - When I try `wp plugin activate edit-flow` + When I try `wp plugin activate debug-bar` Then STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. Error: No plugins activated. """ And the return code should be 1 - When I try `wp plugin activate akismet hello edit-flow` + When I try `wp plugin activate akismet hello debug-bar` Then STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. Error: Only activated 2 of 3 plugins. """ And STDOUT should be: diff --git a/features/plugin-deactivate.feature b/features/plugin-deactivate.feature index 7a679110..5dae4609 100644 --- a/features/plugin-deactivate.feature +++ b/features/plugin-deactivate.feature @@ -14,19 +14,19 @@ Feature: Deactivate WordPress plugins And the return code should be 0 Scenario: Attempt to deactivate a plugin that's not installed - When I try `wp plugin deactivate edit-flow` + When I try `wp plugin deactivate debug-bar` Then STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. Error: No plugins deactivated. """ And STDOUT should be empty And the return code should be 1 - When I try `wp plugin deactivate akismet hello edit-flow` + When I try `wp plugin deactivate akismet hello debug-bar` Then STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. Error: Only deactivated 2 of 3 plugins. """ And STDOUT should be: diff --git a/features/plugin-delete.feature b/features/plugin-delete.feature index 8fc3cc9d..2b097c89 100644 --- a/features/plugin-delete.feature +++ b/features/plugin-delete.feature @@ -29,14 +29,14 @@ Feature: Delete WordPress plugins """ Scenario: Attempting to delete a plugin that doesn't exist - When I try `wp plugin delete edit-flow` + When I try `wp plugin delete debug-bar` Then STDOUT should be: """ Success: Plugin already deleted. """ And STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. """ And the return code should be 0 diff --git a/features/plugin-install.feature b/features/plugin-install.feature index 7985fc31..b490c7f3 100644 --- a/features/plugin-install.feature +++ b/features/plugin-install.feature @@ -92,10 +92,10 @@ Feature: Install WordPress plugins define( 'WP_PROXY_PORT', '443' ); """ - When I try `wp --require=invalid-proxy-details.php plugin install edit-flow` + When I try `wp --require=invalid-proxy-details.php plugin install debug-bar` Then STDERR should contain: """ - Warning: edit-flow: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. + Warning: debug-bar: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. """ And STDERR should contain: """ @@ -104,7 +104,7 @@ Feature: Install WordPress plugins And STDOUT should be empty And the return code should be 1 - When I run `wp plugin install edit-flow` + When I run `wp plugin install debug-bar` Then STDOUT should contain: """ Plugin installed successfully. diff --git a/features/plugin-toggle.feature b/features/plugin-toggle.feature index 4c81bff9..79abe3e1 100644 --- a/features/plugin-toggle.feature +++ b/features/plugin-toggle.feature @@ -19,10 +19,10 @@ Feature: Toggle the activation status of a plugin """ Scenario: Toggling the status of a plugin that doesn't exist - When I try `wp plugin toggle akismet edit-flow` + When I try `wp plugin toggle akismet debug-bar` Then STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. Error: Only toggled 1 of 2 plugins. """ And STDOUT should be: @@ -31,10 +31,10 @@ Feature: Toggle the activation status of a plugin """ And the return code should be 1 - When I try `wp plugin toggle edit-flow co-authors-plus` + When I try `wp plugin toggle debug-bar co-authors-plus` Then STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. Warning: The 'co-authors-plus' plugin could not be found. Error: No plugins toggled. """ diff --git a/features/plugin-uninstall.feature b/features/plugin-uninstall.feature index c43f527b..bf67746f 100644 --- a/features/plugin-uninstall.feature +++ b/features/plugin-uninstall.feature @@ -26,10 +26,10 @@ Feature: Uninstall a WordPress plugin And the return code should be 1 Scenario: Attempting to uninstall a plugin that doesn't exist - When I try `wp plugin uninstall edit-flow` + When I try `wp plugin uninstall debug-bar` Then STDERR should be: """ - Warning: The 'edit-flow' plugin could not be found. + Warning: The 'debug-bar' plugin could not be found. Error: No plugins uninstalled. """ And the return code should be 1