Skip to content

Commit 56cecfd

Browse files
committed
Fix test
1 parent cd592ea commit 56cecfd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

features/package-install.feature

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ Feature: Install WP-CLI packages
374374
Scenario: Install a package from a GitLab URL without .git suffix and nested groups
375375
Given an empty directory
376376

377-
When I run `wp package install https://gitlab.com/wp-cli/wp-cli-test/test-command`
377+
When I try `wp package install https://gitlab.com/wp-cli/wp-cli-test/test-command`
378378
Then STDOUT should contain:
379379
"""
380380
Installing package wp-cli-test/test-command
@@ -387,6 +387,10 @@ Feature: Install WP-CLI packages
387387
"""
388388
Success: Package installed.
389389
"""
390+
And STDERR should contain:
391+
"""
392+
Could not guess stable version from GitHub repository, falling back to master branch
393+
"""
390394

391395
When I run `wp package uninstall wp-cli-test/test-command`
392396
Then STDOUT should contain:

0 commit comments

Comments
 (0)