Skip to content

Commit 33fc922

Browse files
committed
Skip some tests on PHP 8.5 for now
1 parent 730dbe7 commit 33fc922

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

features/install-wp-tests.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ Feature: Scaffold install-wp-tests.sh tests
264264
Leaving the existing database (wp_cli_test_scaffold) in place
265265
"""
266266
267-
@require-php-8.0 @require-wp-5.8 @require-mysql
267+
# Excluding PHP 8.5 because PHPUnit 9 causes some warnings.
268+
@require-php-8.0 @require-wp-5.8 @require-mysql @less-than-php-8.5
268269
Scenario: Install latest version of WordPress on PHP 8.0+ and WordPress above 5.8
269270
Given a WP install
270271
And a affirmative-response file:
@@ -383,7 +384,8 @@ Feature: Scaffold install-wp-tests.sh tests
383384
Leaving the existing database (wp_cli_test_scaffold) in place
384385
"""
385386
386-
@require-php-7.2 @require-mysql
387+
# Excluding PHP 8.5 because PHPUnit 9 causes some warnings.
388+
@require-php-7.2 @require-mysql @less-than-php-8.5
387389
Scenario: Install WordPress from trunk
388390
Given a WP install
389391
And a get-phpunit-phar-url.php file:

0 commit comments

Comments
 (0)