11Feature : Install WordPress plugins
22
3+ Background :
4+ Given an empty cache
5+
36 Scenario : Branch names should be removed from Github projects
47 Given a WP install
58
@@ -28,7 +31,7 @@ Feature: Install WordPress plugins
2831 """
2932 Warning: Destination folder already exists
3033 """
31- Then STDERR should contain:
34+ And STDERR should contain:
3235 """
3336 Error: No plugins installed.
3437 """
@@ -227,16 +230,16 @@ Feature: Install WordPress plugins
227230
228231 When I try `wp plugin install site-secrets --activate`
229232 Then STDERR should contain:
230- """
231- Warning: site-secrets: Plugin already installed.
232- """
233+ """
234+ Warning: site-secrets: Plugin already installed.
235+ """
233236
234237 And STDOUT should contain:
235- """
236- Activating 'site-secrets'...
237- Plugin 'site-secrets' activated.
238- Success: Plugin already installed.
239- """
238+ """
239+ Activating 'site-secrets'...
240+ Plugin 'site-secrets' activated.
241+ Success: Plugin already installed.
242+ """
240243
241244 @require-php-7
242245 Scenario : Can't install plugin that requires a newer version of WordPress
@@ -247,26 +250,26 @@ Feature: Install WordPress plugins
247250
248251 And I try `wp plugin install wp-super-cache`
249252 Then STDERR should contain:
250- """
251- Warning: wp-super-cache: This plugin does not work with your version of WordPress
252- """
253+ """
254+ Warning: wp-super-cache: This plugin does not work with your version of WordPress
255+ """
253256
254257 And STDERR should contain:
255- """
256- Error: No plugins installed.
257- """
258+ """
259+ Error: No plugins installed.
260+ """
258261
259262 @less-than-php-7.4 @require-wp-6.6
260263 Scenario : Can't install plugin that requires a newer version of PHP
261264 Given a WP install
262265
263266 And I try `wp plugin install contact-form-7`
264267 Then STDERR should contain:
265- """
266- Warning: contact-form-7: This plugin does not work with your version of PHP
267- """
268+ """
269+ Warning: contact-form-7: This plugin does not work with your version of PHP
270+ """
268271
269272 And STDERR should contain:
270- """
271- Error: No plugins installed.
272- """
273+ """
274+ Error: No plugins installed.
275+ """
0 commit comments