Skip to content

Commit 6cba435

Browse files
committed
Adapt test for changed Composer output
1 parent afac00c commit 6cba435

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

features/package-install.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ Feature: Install WP-CLI packages
544544
"""
545545
Warning: Package name mismatch...Updating from git name 'GeekPress/wp-rocket-cli' to composer.json name 'wp-media/wp-rocket-cli'.
546546
"""
547-
And STDOUT should match /Installing package wp-media\/wp-rocket-cli \(dev-trunk\)/
547+
And STDOUT should match /Installing package wp-media\/wp-rocket-cli \(dev-/
548548
# This path is sometimes changed on Macs to prefix with /private
549549
And STDOUT should contain:
550550
"""
@@ -592,7 +592,7 @@ Feature: Install WP-CLI packages
592592
# Install with lowercase name (for BC - no warning) and uninstall with lowercase name (for BC and convenience)
593593
When I run `wp package install geekpress/wp-rocket-cli`
594594
Then STDERR should be empty
595-
And STDOUT should match /Installing package (?:GeekPress|geekpress)\/wp-rocket-cli \(dev-master\)/
595+
And STDOUT should match /Installing package (?:GeekPress|geekpress)\/wp-rocket-cli \(dev-/
596596
# This path is sometimes changed on Macs to prefix with /private
597597
And STDOUT should contain:
598598
"""
@@ -813,7 +813,7 @@ Feature: Install WP-CLI packages
813813
When I run `wp package install https://github.com/wp-cli/google-sitemap-generator-cli/archive/master.zip`
814814
Then STDOUT should contain:
815815
"""
816-
Installing package wp-cli/google-sitemap-generator-cli (dev-master)
816+
Installing package wp-cli/google-sitemap-generator-cli (dev-
817817
"""
818818
# This path is sometimes changed on Macs to prefix with /private
819819
And STDOUT should contain:

0 commit comments

Comments
 (0)