Skip to content

Commit ad1bbfb

Browse files
authored
Merge pull request #169 from wp-cli/fix/tests
Fix tests for Hello Dolly
2 parents 1f1ca0c + fd482c0 commit ad1bbfb

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

features/language-plugin.feature

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ Feature: Manage plugin translation files for a WordPress install
55
Given a WP install
66
And an empty cache
77

8-
When I run `wp plugin install hello-dolly`
8+
# Hello Dolly was moved from a single file to a directory in WordPress 6.9,
9+
# hence forcing (re-)installation here.
10+
When I run `wp plugin install hello-dolly --force`
911
Then STDOUT should contain:
1012
"""
11-
Plugin installed successfully.
13+
Installed 1 of 1 plugins.
1214
"""
1315
And STDERR should be empty
1416

@@ -179,10 +181,6 @@ Feature: Manage plugin translation files for a WordPress install
179181
"""
180182
akismet,de_DE,"not installed"
181183
"""
182-
And STDOUT should contain:
183-
"""
184-
hello,de_DE,"not installed"
185-
"""
186184
And STDOUT should contain:
187185
"""
188186
hello-dolly,de_DE,uninstalled
@@ -195,10 +193,6 @@ Feature: Manage plugin translation files for a WordPress install
195193
"""
196194
akismet,de_DE,"not installed"
197195
"""
198-
And STDOUT should contain:
199-
"""
200-
hello,de_DE,"not installed"
201-
"""
202196
And STDOUT should contain:
203197
"""
204198
hello-dolly,de_DE,"not installed"

0 commit comments

Comments
 (0)