diff --git a/features/package-install.feature b/features/package-install.feature index 2380a435..007144d0 100644 --- a/features/package-install.feature +++ b/features/package-install.feature @@ -71,7 +71,7 @@ Feature: Install WP-CLI packages Given an empty directory When I run `wp package install yoast/wp-cli-faker` - And STDOUT should contain: + Then STDOUT should contain: """ Success: Package installed """ @@ -178,7 +178,7 @@ Feature: Install WP-CLI packages """ Removing require statement for package 'wp-cli/google-sitemap-generator-cli' from """ - Then STDOUT should contain: + And STDOUT should contain: """ Removing repository details from """ diff --git a/features/package-update.feature b/features/package-update.feature index 7965fb30..c5981277 100644 --- a/features/package-update.feature +++ b/features/package-update.feature @@ -12,7 +12,7 @@ Feature: Update WP-CLI packages """ Success: Package installed. """ - Then STDERR should be empty + And STDERR should be empty When I run `wp package update` Then STDOUT should contain: