@@ -323,6 +323,10 @@ Feature: Install WordPress plugins
323323 """
324324 Warning: Plugin already installed.
325325 """
326+ And STDERR should not contain:
327+ """
328+ plugin could not be found
329+ """
326330 And STDOUT should contain:
327331 """
328332 Success: Plugin already installed.
@@ -371,14 +375,14 @@ Feature: Install WordPress plugins
371375 Scenario : Install plugin using WordPress.org directory URL
372376 Given a WP install
373377
374- When I run `wp plugin install https://wordpress.org/plugins/hello-dolly /`
378+ When I run `wp plugin install https://wordpress.org/plugins/debug-bar /`
375379 Then STDOUT should contain:
376380 """
377- Detected WordPress.org plugins directory URL, using slug: hello-dolly
381+ Detected WordPress.org plugins directory URL, using slug: debug-bar
378382 """
379383 And the return code should be 0
380384
381- When I run `wp plugin list --name=hello-dolly --field=status`
385+ When I run `wp plugin list --name=debug-bar --field=status`
382386 Then STDOUT should be:
383387 """
384388 inactive
@@ -387,14 +391,14 @@ Feature: Install WordPress plugins
387391 Scenario : Install and activate plugin using WordPress.org directory URL
388392 Given a WP install
389393
390- When I run `wp plugin install https://wordpress.org/plugins/hello-dolly / --activate`
394+ When I run `wp plugin install https://wordpress.org/plugins/debug-bar / --activate`
391395 Then STDOUT should contain:
392396 """
393- Detected WordPress.org plugins directory URL, using slug: hello-dolly
397+ Detected WordPress.org plugins directory URL, using slug: debug-bar
394398 """
395399 And the return code should be 0
396400
397- When I run `wp plugin list --name=hello-dolly --field=status`
401+ When I run `wp plugin list --name=debug-bar --field=status`
398402 Then STDOUT should be:
399403 """
400404 active
@@ -403,35 +407,35 @@ Feature: Install WordPress plugins
403407 Scenario : Install with --activate on already-active plugin should keep it activated
404408 Given a WP install
405409
406- When I run `wp plugin install hello-dolly --activate`
410+ When I run `wp plugin install debug-bar --activate`
407411 Then STDOUT should contain:
408412 """
409- Plugin 'hello-dolly ' activated.
413+ Plugin 'debug-bar ' activated.
410414 """
411415 And the return code should be 0
412416
413- When I run `wp plugin list --name=hello-dolly --field=status`
417+ When I run `wp plugin list --name=debug-bar --field=status`
414418 Then STDOUT should be:
415419 """
416420 active
417421 """
418422
419- When I try `wp plugin install hello-dolly --activate`
423+ When I try `wp plugin install debug-bar --activate`
420424 Then STDERR should contain:
421425 """
422- Warning: hello-dolly : Plugin already installed.
426+ Warning: debug-bar : Plugin already installed.
423427 """
424428 And STDOUT should contain:
425429 """
426- Activating 'hello-dolly '...
430+ Activating 'debug-bar '...
427431 """
428432 And STDOUT should contain:
429433 """
430- Plugin 'hello-dolly ' activated.
434+ Plugin 'debug-bar ' activated.
431435 """
432436 And the return code should be 0
433437
434- When I run `wp plugin list --name=hello-dolly --field=status`
438+ When I run `wp plugin list --name=debug-bar --field=status`
435439 Then STDOUT should be:
436440 """
437441 active
@@ -440,35 +444,35 @@ Feature: Install WordPress plugins
440444 Scenario : Install with --activate-network on already-network-active plugin should keep it activated
441445 Given a WP multisite install
442446
443- When I run `wp plugin install hello-dolly --activate-network`
447+ When I run `wp plugin install debug-bar --activate-network`
444448 Then STDOUT should contain:
445449 """
446- Plugin 'hello-dolly ' network activated.
450+ Plugin 'debug-bar ' network activated.
447451 """
448452 And the return code should be 0
449453
450- When I run `wp plugin list --name=hello-dolly --field=status`
454+ When I run `wp plugin list --name=debug-bar --field=status`
451455 Then STDOUT should be:
452456 """
453457 active-network
454458 """
455459
456- When I try `wp plugin install hello-dolly --activate-network`
460+ When I try `wp plugin install debug-bar --activate-network`
457461 Then STDERR should contain:
458462 """
459- Warning: hello-dolly : Plugin already installed.
463+ Warning: debug-bar : Plugin already installed.
460464 """
461465 And STDOUT should contain:
462466 """
463- Network-activating 'hello-dolly '...
467+ Network-activating 'debug-bar '...
464468 """
465469 And STDOUT should contain:
466470 """
467- Plugin 'hello-dolly ' network activated.
471+ Plugin 'debug-bar ' network activated.
468472 """
469473 And the return code should be 0
470474
471- When I run `wp plugin list --name=hello-dolly --field=status`
475+ When I run `wp plugin list --name=debug-bar --field=status`
472476 Then STDOUT should be:
473477 """
474478 active-network
0 commit comments