@@ -28,7 +28,7 @@ Feature: Install WordPress plugins
28
28
"""
29
29
Warning: Destination folder already exists
30
30
"""
31
- Then STDERR should contain:
31
+ And STDERR should contain:
32
32
"""
33
33
Error: No plugins installed.
34
34
"""
@@ -227,16 +227,16 @@ Feature: Install WordPress plugins
227
227
228
228
When I try `wp plugin install site-secrets --activate`
229
229
Then STDERR should contain:
230
- """
231
- Warning: site-secrets: Plugin already installed.
232
- """
230
+ """
231
+ Warning: site-secrets: Plugin already installed.
232
+ """
233
233
234
234
And STDOUT should contain:
235
- """
236
- Activating 'site-secrets'...
237
- Plugin 'site-secrets' activated.
238
- Success: Plugin already installed.
239
- """
235
+ """
236
+ Activating 'site-secrets'...
237
+ Plugin 'site-secrets' activated.
238
+ Success: Plugin already installed.
239
+ """
240
240
241
241
@require-php-7
242
242
Scenario : Can't install plugin that requires a newer version of WordPress
@@ -247,26 +247,26 @@ Feature: Install WordPress plugins
247
247
248
248
And I try `wp plugin install wp-super-cache`
249
249
Then STDERR should contain:
250
- """
251
- Warning: wp-super-cache: This plugin does not work with your version of WordPress
252
- """
250
+ """
251
+ Warning: wp-super-cache: This plugin does not work with your version of WordPress
252
+ """
253
253
254
254
And STDERR should contain:
255
- """
256
- Error: No plugins installed.
257
- """
255
+ """
256
+ Error: No plugins installed.
257
+ """
258
258
259
259
@less-than-php-7.4 @require-wp-6.6
260
260
Scenario : Can't install plugin that requires a newer version of PHP
261
261
Given a WP install
262
262
263
263
And I try `wp plugin install contact-form-7`
264
264
Then STDERR should contain:
265
- """
266
- Warning: contact-form-7: This plugin does not work with your version of PHP
267
- """
265
+ """
266
+ Warning: contact-form-7: This plugin does not work with your version of PHP
267
+ """
268
268
269
269
And STDERR should contain:
270
- """
271
- Error: No plugins installed.
272
- """
270
+ """
271
+ Error: No plugins installed.
272
+ """
0 commit comments