Skip to content

Commit 249e76e

Browse files
Copilotswissspidy
andcommitted
Fix test to use real package name from package index
Co-authored-by: swissspidy <[email protected]>
1 parent 60df40b commit 249e76e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/package-install.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,11 +1123,11 @@ Feature: Install WP-CLI packages
11231123
And a dummy-package/composer.json file:
11241124
"""
11251125
{
1126-
"name": "wp-cli/test-package",
1126+
"name": "wp-cli/restful",
11271127
"description": "Test package for no-interaction flag"
11281128
}
11291129
"""
1130-
When I run `WP_CLI_PACKAGES_DIR=. wp package install wp-cli/test-package --no-interaction`
1130+
When I run `WP_CLI_PACKAGES_DIR=. wp package install wp-cli/restful --no-interaction`
11311131
Then STDOUT should contain:
11321132
"""
11331133
Success: Package installed

0 commit comments

Comments
 (0)