You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/plugin-auto-updates-disable.feature
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ Feature: Disable auto-updates for WordPress plugins
2
2
3
3
Background:
4
4
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`
6
6
And I run `wp plugin auto-updates enable --all`
7
7
8
8
@require-wp-5.5
@@ -25,7 +25,7 @@ Feature: Disable auto-updates for WordPress plugins
25
25
26
26
@require-wp-5.5
27
27
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`
29
29
Then STDOUT should be:
30
30
"""
31
31
Success: Disabled 2 of 2 plugin auto-updates.
@@ -73,7 +73,7 @@ Feature: Disable auto-updates for WordPress plugins
73
73
@require-wp-5.5
74
74
Scenario: Filter when disabling auto-updates for already disabled selection of plugins
75
75
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`
Copy file name to clipboardExpand all lines: features/plugin-auto-updates-enable.feature
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ Feature: Enable auto-updates for WordPress plugins
2
2
3
3
Background:
4
4
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`
6
6
7
7
@require-wp-5.5
8
8
Scenario: Show an error if required params are missing
@@ -24,7 +24,7 @@ Feature: Enable auto-updates for WordPress plugins
24
24
25
25
@require-wp-5.5
26
26
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`
28
28
Then STDOUT should be:
29
29
"""
30
30
Success: Enabled 2 of 2 plugin auto-updates.
@@ -72,7 +72,7 @@ Feature: Enable auto-updates for WordPress plugins
72
72
@require-wp-5.5
73
73
Scenario: Filter when enabling auto-updates for already enabled selection of plugins
74
74
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`
Copy file name to clipboardExpand all lines: features/plugin-auto-updates-status.feature
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ Feature: Show the status of auto-updates for WordPress plugins
2
2
3
3
Background:
4
4
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`
6
6
7
7
@require-wp-5.5
8
8
Scenario: Show an error if required params are missing
@@ -23,10 +23,10 @@ Feature: Show the status of auto-updates for WordPress plugins
23
23
24
24
@require-wp-5.5
25
25
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`
27
27
Then STDOUT should be a table containing rows:
28
28
| name | status |
29
-
| duplicate-post | disabled |
29
+
| debug-bar | disabled |
30
30
| sample-plugin | disabled |
31
31
And the return code should be 0
32
32
@@ -36,7 +36,7 @@ Feature: Show the status of auto-updates for WordPress plugins
36
36
Then STDOUT should be a table containing rows:
37
37
| name | status |
38
38
| akismet | disabled |
39
-
| duplicate-post | disabled |
39
+
| debug-bar | disabled |
40
40
| sample-plugin | disabled |
41
41
And the return code should be 0
42
42
@@ -45,7 +45,7 @@ Feature: Show the status of auto-updates for WordPress plugins
45
45
Then STDOUT should be a table containing rows:
46
46
| name | status |
47
47
| akismet | enabled |
48
-
| duplicate-post | enabled |
48
+
| debug-bar | enabled |
49
49
| sample-plugin | enabled |
50
50
And the return code should be 0
51
51
@@ -57,7 +57,7 @@ Feature: Show the status of auto-updates for WordPress plugins
57
57
Then STDOUT should be a table containing rows:
58
58
| name | status |
59
59
| akismet | disabled |
60
-
| duplicate-post | disabled |
60
+
| debug-bar | disabled |
61
61
| sample-plugin | enabled |
62
62
And the return code should be 0
63
63
@@ -71,7 +71,7 @@ Feature: Show the status of auto-updates for WordPress plugins
71
71
Then STDOUT should be a table containing rows:
72
72
| name | status |
73
73
| akismet | disabled |
74
-
| duplicate-post | disabled |
74
+
| debug-bar | disabled |
75
75
And the return code should be 0
76
76
77
77
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
92
92
"""
93
93
And STDOUT should contain:
94
94
"""
95
-
duplicate-post
95
+
debug-bar
96
96
"""
97
97
98
98
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
114
114
"""
115
115
And STDOUT should contain:
116
116
"""
117
-
{"name":"duplicate-post","status":"disabled"}
117
+
{"name":"debug-bar","status":"disabled"}
118
118
"""
119
119
120
120
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
0 commit comments