File tree Expand file tree Collapse file tree 6 files changed +19
-19
lines changed Expand file tree Collapse file tree 6 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,18 @@ Feature: Activate WordPress plugins
13
13
And the return code should be 0
14
14
15
15
Scenario : Attempt to activate a plugin that's not installed
16
- When I try `wp plugin activate edit-flow `
16
+ When I try `wp plugin activate debug-bar `
17
17
Then STDERR should be:
18
18
"""
19
- Warning: The 'edit-flow ' plugin could not be found.
19
+ Warning: The 'debug-bar ' plugin could not be found.
20
20
Error: No plugins activated.
21
21
"""
22
22
And the return code should be 1
23
23
24
- When I try `wp plugin activate akismet hello edit-flow `
24
+ When I try `wp plugin activate akismet hello debug-bar `
25
25
Then STDERR should be:
26
26
"""
27
- Warning: The 'edit-flow ' plugin could not be found.
27
+ Warning: The 'debug-bar ' plugin could not be found.
28
28
Error: Only activated 2 of 3 plugins.
29
29
"""
30
30
And STDOUT should be:
Original file line number Diff line number Diff line change @@ -14,19 +14,19 @@ Feature: Deactivate WordPress plugins
14
14
And the return code should be 0
15
15
16
16
Scenario : Attempt to deactivate a plugin that's not installed
17
- When I try `wp plugin deactivate edit-flow `
17
+ When I try `wp plugin deactivate debug-bar `
18
18
Then STDERR should be:
19
19
"""
20
- Warning: The 'edit-flow ' plugin could not be found.
20
+ Warning: The 'debug-bar ' plugin could not be found.
21
21
Error: No plugins deactivated.
22
22
"""
23
23
And STDOUT should be empty
24
24
And the return code should be 1
25
25
26
- When I try `wp plugin deactivate akismet hello edit-flow `
26
+ When I try `wp plugin deactivate akismet hello debug-bar `
27
27
Then STDERR should be:
28
28
"""
29
- Warning: The 'edit-flow ' plugin could not be found.
29
+ Warning: The 'debug-bar ' plugin could not be found.
30
30
Error: Only deactivated 2 of 3 plugins.
31
31
"""
32
32
And STDOUT should be:
Original file line number Diff line number Diff line change @@ -29,14 +29,14 @@ Feature: Delete WordPress plugins
29
29
"""
30
30
31
31
Scenario : Attempting to delete a plugin that doesn't exist
32
- When I try `wp plugin delete edit-flow `
32
+ When I try `wp plugin delete debug-bar `
33
33
Then STDOUT should be:
34
34
"""
35
35
Success: Plugin already deleted.
36
36
"""
37
37
And STDERR should be:
38
38
"""
39
- Warning: The 'edit-flow ' plugin could not be found.
39
+ Warning: The 'debug-bar ' plugin could not be found.
40
40
"""
41
41
And the return code should be 0
42
42
Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ Feature: Install WordPress plugins
92
92
define( 'WP_PROXY_PORT', '443' );
93
93
"""
94
94
95
- When I try `wp --require=invalid-proxy-details.php plugin install edit-flow `
95
+ When I try `wp --require=invalid-proxy-details.php plugin install debug-bar `
96
96
Then STDERR should contain:
97
97
"""
98
- Warning: edit-flow : An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration.
98
+ Warning: debug-bar : An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration.
99
99
"""
100
100
And STDERR should contain:
101
101
"""
@@ -104,7 +104,7 @@ Feature: Install WordPress plugins
104
104
And STDOUT should be empty
105
105
And the return code should be 1
106
106
107
- When I run `wp plugin install edit-flow `
107
+ When I run `wp plugin install debug-bar `
108
108
Then STDOUT should contain:
109
109
"""
110
110
Plugin installed successfully.
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ Feature: Toggle the activation status of a plugin
19
19
"""
20
20
21
21
Scenario : Toggling the status of a plugin that doesn't exist
22
- When I try `wp plugin toggle akismet edit-flow `
22
+ When I try `wp plugin toggle akismet debug-bar `
23
23
Then STDERR should be:
24
24
"""
25
- Warning: The 'edit-flow ' plugin could not be found.
25
+ Warning: The 'debug-bar ' plugin could not be found.
26
26
Error: Only toggled 1 of 2 plugins.
27
27
"""
28
28
And STDOUT should be:
@@ -31,10 +31,10 @@ Feature: Toggle the activation status of a plugin
31
31
"""
32
32
And the return code should be 1
33
33
34
- When I try `wp plugin toggle edit-flow co-authors-plus`
34
+ When I try `wp plugin toggle debug-bar co-authors-plus`
35
35
Then STDERR should be:
36
36
"""
37
- Warning: The 'edit-flow ' plugin could not be found.
37
+ Warning: The 'debug-bar ' plugin could not be found.
38
38
Warning: The 'co-authors-plus' plugin could not be found.
39
39
Error: No plugins toggled.
40
40
"""
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ Feature: Uninstall a WordPress plugin
26
26
And the return code should be 1
27
27
28
28
Scenario : Attempting to uninstall a plugin that doesn't exist
29
- When I try `wp plugin uninstall edit-flow `
29
+ When I try `wp plugin uninstall debug-bar `
30
30
Then STDERR should be:
31
31
"""
32
- Warning: The 'edit-flow ' plugin could not be found.
32
+ Warning: The 'debug-bar ' plugin could not be found.
33
33
Error: No plugins uninstalled.
34
34
"""
35
35
And the return code should be 1
You can’t perform that action at this time.
0 commit comments