Skip to content

Commit 4950563

Browse files
committed
Adapt error message to expect for WP Core < 5.9
1 parent 5b2bf64 commit 4950563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/install-wp-tests.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Feature: Scaffold install-wp-tests.sh tests
219219
Then the return code should be 1
220220
And STDOUT should contain:
221221
"""
222-
The scaffolded tests cannot currently be run on PHP 8.0+. See https://github.com/wp-cli/scaffold-command/issues/285
222+
Looks like you're using PHPUnit 9.5.8. WordPress requires at least PHPUnit 5.4 and is currently only compatible with PHPUnit up to 7.x.
223223
"""
224224
225225
When I try `WP_TESTS_DIR={RUN_DIR}/wordpress-tests-lib WP_CORE_DIR={RUN_DIR}/wordpress /usr/bin/env bash {PLUGIN_DIR}/hello-world/bin/install-wp-tests.sh wp_cli_test_scaffold {DB_USER} {DB_PASSWORD} {DB_HOST} latest < affirmative-response`

0 commit comments

Comments
 (0)