Skip to content

Commit 682d8c6

Browse files
authored
Merge pull request #199 from wp-cli/refine-feature-files
2 parents a01bc22 + d2e9337 commit 682d8c6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

features/package-install.feature

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ Feature: Install WP-CLI packages
2222
}
2323
"""
2424
And a dummy-package/composer.json file:
25-
"""
26-
{
27-
"name": "wp-cli/restful",
28-
"description": "This is a dummy package we will install instead of actually installing the real package. This prevents the test from hanging indefinitely for some reason, even though it passes. The 'name' must match a real package as it is checked against the package index."
29-
}
30-
"""
25+
"""
26+
{
27+
"name": "wp-cli/restful",
28+
"description": "This is a dummy package we will install instead of actually installing the real package. This prevents the test from hanging indefinitely for some reason, even though it passes. The 'name' must match a real package as it is checked against the package index."
29+
}
30+
"""
3131
When I run `WP_CLI_PACKAGES_DIR=. wp package install wp-cli/restful`
3232
Then STDOUT should contain:
33-
"""
34-
Updating package index repository url...
35-
"""
33+
"""
34+
Updating package index repository url...
35+
"""
3636
And STDOUT should contain:
37-
"""
38-
Success: Package installed
39-
"""
37+
"""
38+
Success: Package installed
39+
"""
4040
And the composer.json file should contain:
4141
"""
4242
"url": "https://wp-cli.org/package-index/"

0 commit comments

Comments
 (0)