Skip to content

Commit a86e46d

Browse files
authored
Merge pull request #130 from wp-cli/fix/php-8-2-language-install-warning
2 parents 829cdf9 + 6800d54 commit a86e46d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

features/language-core.feature

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,17 @@ Feature: Manage translation files for a WordPress install
304304
And an empty cache
305305
And I run `wp core download --version=4.5.3 --force`
306306

307-
When I run `wp language core install nl_NL`
307+
# PHP 8.2+ will show a warning for old WordPress core version.
308+
When I try `wp language core install nl_NL`
308309
Then STDOUT should contain:
309310
"""
310311
Downloading translation from https://downloads.wordpress.org/translation/core/4.5.3
311312
"""
313+
And STDOUT should contain:
314+
"""
315+
Success: Installed 1 of 1 languages.
316+
"""
317+
And the return code should be 0
312318

313319
@require-wp-4.0
314320
Scenario: Ensure upgrader output is in English

0 commit comments

Comments
 (0)