Skip to content

Commit d5d70d4

Browse files
committed
Replace duplicate-post in tests
1 parent cf22fe0 commit d5d70d4

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

features/plugin-auto-updates-disable.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Feature: Disable auto-updates for WordPress plugins
22

33
Background:
44
Given a WP install
5-
And I run `wp plugin install duplicate-post https://github.com/wp-cli/sample-plugin/archive/refs/heads/master.zip --ignore-requirements`
5+
And I run `wp plugin install debug-bar https://github.com/wp-cli/sample-plugin/archive/refs/heads/master.zip --ignore-requirements`
66
And I run `wp plugin auto-updates enable --all`
77

88
@require-wp-5.5
@@ -25,7 +25,7 @@ Feature: Disable auto-updates for WordPress plugins
2525

2626
@require-wp-5.5
2727
Scenario: Disable auto-updates for multiple plugins
28-
When I run `wp plugin auto-updates disable sample-plugin duplicate-post`
28+
When I run `wp plugin auto-updates disable sample-plugin debug-bar`
2929
Then STDOUT should be:
3030
"""
3131
Success: Disabled 2 of 2 plugin auto-updates.
@@ -73,7 +73,7 @@ Feature: Disable auto-updates for WordPress plugins
7373
@require-wp-5.5
7474
Scenario: Filter when disabling auto-updates for already disabled selection of plugins
7575
When I run `wp plugin auto-updates disable sample-plugin`
76-
And I run `wp plugin auto-updates disable sample-plugin duplicate-post --enabled-only`
76+
And I run `wp plugin auto-updates disable sample-plugin debug-bar --enabled-only`
7777
Then STDOUT should be:
7878
"""
7979
Success: Disabled 1 of 1 plugin auto-updates.

features/plugin-auto-updates-enable.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Feature: Enable auto-updates for WordPress plugins
22

33
Background:
44
Given a WP install
5-
And I run `wp plugin install duplicate-post https://github.com/wp-cli/sample-plugin/archive/refs/heads/master.zip --ignore-requirements`
5+
And I run `wp plugin install debug-bar https://github.com/wp-cli/sample-plugin/archive/refs/heads/master.zip --ignore-requirements`
66

77
@require-wp-5.5
88
Scenario: Show an error if required params are missing
@@ -24,7 +24,7 @@ Feature: Enable auto-updates for WordPress plugins
2424

2525
@require-wp-5.5
2626
Scenario: Enable auto-updates for multiple plugins
27-
When I run `wp plugin auto-updates enable sample-plugin duplicate-post`
27+
When I run `wp plugin auto-updates enable sample-plugin debug-bar`
2828
Then STDOUT should be:
2929
"""
3030
Success: Enabled 2 of 2 plugin auto-updates.
@@ -72,7 +72,7 @@ Feature: Enable auto-updates for WordPress plugins
7272
@require-wp-5.5
7373
Scenario: Filter when enabling auto-updates for already enabled selection of plugins
7474
When I run `wp plugin auto-updates enable sample-plugin`
75-
And I run `wp plugin auto-updates enable sample-plugin duplicate-post --disabled-only`
75+
And I run `wp plugin auto-updates enable sample-plugin debug-bar --disabled-only`
7676
Then STDOUT should be:
7777
"""
7878
Success: Enabled 1 of 1 plugin auto-updates.

features/plugin-auto-updates-status.feature

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Feature: Show the status of auto-updates for WordPress plugins
22

33
Background:
44
Given a WP install
5-
And I run `wp plugin install duplicate-post https://github.com/wp-cli/sample-plugin/archive/refs/heads/master.zip --ignore-requirements`
5+
And I run `wp plugin install debug-bar https://github.com/wp-cli/sample-plugin/archive/refs/heads/master.zip --ignore-requirements`
66

77
@require-wp-5.5
88
Scenario: Show an error if required params are missing
@@ -23,10 +23,10 @@ Feature: Show the status of auto-updates for WordPress plugins
2323

2424
@require-wp-5.5
2525
Scenario: Show the status of auto-updates multiple plugins
26-
When I run `wp plugin auto-updates status duplicate-post sample-plugin`
26+
When I run `wp plugin auto-updates status debug-bar sample-plugin`
2727
Then STDOUT should be a table containing rows:
2828
| name | status |
29-
| duplicate-post | disabled |
29+
| debug-bar | disabled |
3030
| sample-plugin | disabled |
3131
And the return code should be 0
3232

@@ -36,7 +36,7 @@ Feature: Show the status of auto-updates for WordPress plugins
3636
Then STDOUT should be a table containing rows:
3737
| name | status |
3838
| akismet | disabled |
39-
| duplicate-post | disabled |
39+
| debug-bar | disabled |
4040
| sample-plugin | disabled |
4141
And the return code should be 0
4242

@@ -45,7 +45,7 @@ Feature: Show the status of auto-updates for WordPress plugins
4545
Then STDOUT should be a table containing rows:
4646
| name | status |
4747
| akismet | enabled |
48-
| duplicate-post | enabled |
48+
| debug-bar | enabled |
4949
| sample-plugin | enabled |
5050
And the return code should be 0
5151

@@ -57,7 +57,7 @@ Feature: Show the status of auto-updates for WordPress plugins
5757
Then STDOUT should be a table containing rows:
5858
| name | status |
5959
| akismet | disabled |
60-
| duplicate-post | disabled |
60+
| debug-bar | disabled |
6161
| sample-plugin | enabled |
6262
And the return code should be 0
6363

@@ -71,7 +71,7 @@ Feature: Show the status of auto-updates for WordPress plugins
7171
Then STDOUT should be a table containing rows:
7272
| name | status |
7373
| akismet | disabled |
74-
| duplicate-post | disabled |
74+
| debug-bar | disabled |
7575
And the return code should be 0
7676

7777
When I try `wp plugin auto-updates status --all --enabled-only --disabled-only`
@@ -92,7 +92,7 @@ Feature: Show the status of auto-updates for WordPress plugins
9292
"""
9393
And STDOUT should contain:
9494
"""
95-
duplicate-post
95+
debug-bar
9696
"""
9797

9898
When I run `wp plugin auto-updates status sample-plugin --field=status`
@@ -114,7 +114,7 @@ Feature: Show the status of auto-updates for WordPress plugins
114114
"""
115115
And STDOUT should contain:
116116
"""
117-
{"name":"duplicate-post","status":"disabled"}
117+
{"name":"debug-bar","status":"disabled"}
118118
"""
119119

120120
When I run `wp plugin auto-updates status --all --format=csv`
@@ -128,7 +128,7 @@ Feature: Show the status of auto-updates for WordPress plugins
128128
"""
129129
And STDOUT should contain:
130130
"""
131-
duplicate-post,disabled
131+
debug-bar,disabled
132132
"""
133133

134134
@require-wp-5.5

features/plugin-dependencies.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Feature: Plugin dependencies support
6161
<?php
6262
/**
6363
* Plugin Name: Test Plugin
64-
* Requires Plugins: duplicate-post, debug-bar
64+
* Requires Plugins: debug-bar, debug-bar
6565
*/
6666
"""
6767

@@ -75,7 +75,7 @@ Feature: Plugin dependencies support
7575
Success:
7676
"""
7777

78-
When I run `wp plugin list --name=duplicate-post --field=status`
78+
When I run `wp plugin list --name=debug-bar --field=status`
7979
Then STDOUT should be:
8080
"""
8181
inactive

0 commit comments

Comments
 (0)