Skip to content

Commit f956ce1

Browse files
committed
Replace hello-dolly in some tests
1 parent 0de652a commit f956ce1

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

features/plugin-install.feature

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -375,14 +375,14 @@ Feature: Install WordPress plugins
375375
Scenario: Install plugin using WordPress.org directory URL
376376
Given a WP install
377377

378-
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/`
379379
Then STDOUT should contain:
380380
"""
381-
Detected WordPress.org plugins directory URL, using slug: hello-dolly
381+
Detected WordPress.org plugins directory URL, using slug: debug-bar
382382
"""
383383
And the return code should be 0
384384

385-
When I run `wp plugin list --name=hello-dolly --field=status`
385+
When I run `wp plugin list --name=debug-bar --field=status`
386386
Then STDOUT should be:
387387
"""
388388
inactive
@@ -391,14 +391,14 @@ Feature: Install WordPress plugins
391391
Scenario: Install and activate plugin using WordPress.org directory URL
392392
Given a WP install
393393

394-
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`
395395
Then STDOUT should contain:
396396
"""
397-
Detected WordPress.org plugins directory URL, using slug: hello-dolly
397+
Detected WordPress.org plugins directory URL, using slug: debug-bar
398398
"""
399399
And the return code should be 0
400400

401-
When I run `wp plugin list --name=hello-dolly --field=status`
401+
When I run `wp plugin list --name=debug-bar --field=status`
402402
Then STDOUT should be:
403403
"""
404404
active
@@ -407,35 +407,35 @@ Feature: Install WordPress plugins
407407
Scenario: Install with --activate on already-active plugin should keep it activated
408408
Given a WP install
409409

410-
When I run `wp plugin install hello-dolly --activate`
410+
When I run `wp plugin install debug-bar --activate`
411411
Then STDOUT should contain:
412412
"""
413-
Plugin 'hello-dolly' activated.
413+
Plugin 'debug-bar' activated.
414414
"""
415415
And the return code should be 0
416416

417-
When I run `wp plugin list --name=hello-dolly --field=status`
417+
When I run `wp plugin list --name=debug-bar --field=status`
418418
Then STDOUT should be:
419419
"""
420420
active
421421
"""
422422

423-
When I try `wp plugin install hello-dolly --activate`
423+
When I try `wp plugin install debug-bar --activate`
424424
Then STDERR should contain:
425425
"""
426-
Warning: hello-dolly: Plugin already installed.
426+
Warning: debug-bar: Plugin already installed.
427427
"""
428428
And STDOUT should contain:
429429
"""
430-
Activating 'hello-dolly'...
430+
Activating 'debug-bar'...
431431
"""
432432
And STDOUT should contain:
433433
"""
434-
Plugin 'hello-dolly' activated.
434+
Plugin 'debug-bar' activated.
435435
"""
436436
And the return code should be 0
437437

438-
When I run `wp plugin list --name=hello-dolly --field=status`
438+
When I run `wp plugin list --name=debug-bar --field=status`
439439
Then STDOUT should be:
440440
"""
441441
active
@@ -444,35 +444,35 @@ Feature: Install WordPress plugins
444444
Scenario: Install with --activate-network on already-network-active plugin should keep it activated
445445
Given a WP multisite install
446446

447-
When I run `wp plugin install hello-dolly --activate-network`
447+
When I run `wp plugin install debug-bar --activate-network`
448448
Then STDOUT should contain:
449449
"""
450-
Plugin 'hello-dolly' network activated.
450+
Plugin 'debug-bar' network activated.
451451
"""
452452
And the return code should be 0
453453

454-
When I run `wp plugin list --name=hello-dolly --field=status`
454+
When I run `wp plugin list --name=debug-bar --field=status`
455455
Then STDOUT should be:
456456
"""
457457
active-network
458458
"""
459459

460-
When I try `wp plugin install hello-dolly --activate-network`
460+
When I try `wp plugin install debug-bar --activate-network`
461461
Then STDERR should contain:
462462
"""
463-
Warning: hello-dolly: Plugin already installed.
463+
Warning: debug-bar: Plugin already installed.
464464
"""
465465
And STDOUT should contain:
466466
"""
467-
Network-activating 'hello-dolly'...
467+
Network-activating 'debug-bar'...
468468
"""
469469
And STDOUT should contain:
470470
"""
471-
Plugin 'hello-dolly' network activated.
471+
Plugin 'debug-bar' network activated.
472472
"""
473473
And the return code should be 0
474474

475-
When I run `wp plugin list --name=hello-dolly --field=status`
475+
When I run `wp plugin list --name=debug-bar --field=status`
476476
Then STDOUT should be:
477477
"""
478478
active-network

0 commit comments

Comments
 (0)