Skip to content

Commit c82b850

Browse files
Copilotswissspidy
andcommitted
Fix test plugin names and update documentation examples to match actual output
Co-authored-by: swissspidy <[email protected]>
1 parent c535ba5 commit c82b850

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

features/plugin-dependencies.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ Feature: Plugin dependencies support
7575
Success:
7676
"""
7777

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

84-
When I run `wp plugin list --name=hello --field=status`
84+
When I run `wp plugin list --name=debug-bar --field=status`
8585
Then STDOUT should be:
8686
"""
8787
inactive

src/Plugin_Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,11 +1079,11 @@ protected function filter_item_list( $items, $args ) {
10791079
*
10801080
* # Install a plugin with all its dependencies
10811081
* $ wp plugin install my-plugin --with-dependencies
1082-
* Installing dependency: required-plugin-1 (1.2.3)
1082+
* Installing Required Plugin 1 (1.2.3)
10831083
* Plugin installed successfully.
1084-
* Installing dependency: required-plugin-2 (2.0.0)
1084+
* Installing Required Plugin 2 (2.0.0)
10851085
* Plugin installed successfully.
1086-
* Installing my-plugin (3.5.0)
1086+
* Installing My Plugin (3.5.0)
10871087
* Plugin installed successfully.
10881088
* Success: Installed 3 of 3 plugins.
10891089
*/

0 commit comments

Comments
 (0)