Skip to content

Commit f4d2dc9

Browse files
committed
Fix tests
1 parent f3d4fe3 commit f4d2dc9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

features/plugin-check-update.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ Feature: Check for plugin updates
9595
Given a WP install
9696

9797
When I try `wp plugin check-update invalid-plugin-name`
98-
Then the return code should be 1
99-
And STDERR should contain:
98+
Then STDERR should contain:
10099
"""
101100
Warning: The 'invalid-plugin-name' plugin could not be found.
102101
"""

features/theme-check-update.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ Feature: Check for theme updates
9393
Given a WP install
9494

9595
When I try `wp theme check-update invalid-theme-name`
96-
Then the return code should be 1
97-
And STDERR should contain:
96+
Then STDERR should contain:
9897
"""
9998
Warning: The 'invalid-theme-name' theme could not be found.
10099
"""

0 commit comments

Comments
 (0)