Skip to content

Commit f6110aa

Browse files
committed
GH#4232 Added test
1 parent 0597ba4 commit f6110aa

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎features/package-install.feature‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,15 @@ Feature: Install WP-CLI packages
122122

123123
@github-api
124124
Scenario: Install a package from a Git URL
125+
When I run `wp package install git@github.com:sidsector9/ee-command.git`
126+
And STDOUT should contain:
127+
"""
128+
Package name mismatch...Updating the name with correct value.
129+
"""
130+
And the {PACKAGE_PATH}composer.json file should contain:
131+
"""
132+
"this/that": "dev-master"
133+
"""
125134
Given an empty directory
126135

127136
When I try `wp package install git@github.com:wp-cli.git`

0 commit comments

Comments
 (0)