diff --git a/features/command.feature b/features/command.feature index 26242b4df..99d1e1d9d 100644 --- a/features/command.feature +++ b/features/command.feature @@ -383,6 +383,7 @@ Feature: WP-CLI Commands """ prefix = $prefix; @@ -478,6 +479,7 @@ Feature: WP-CLI Commands """ message = $message; @@ -1119,6 +1121,7 @@ Feature: WP-CLI Commands """ message = $message; diff --git a/features/requests.feature b/features/requests.feature index fc96d21c2..5ba554b55 100644 --- a/features/requests.feature +++ b/features/requests.feature @@ -1,7 +1,8 @@ Feature: Requests integration with both v1 and v2 # This test downgrades to WordPress 5.8, but the SQLite plugin requires 6.0+ - @require-mysql + # WP-CLI 2.7 causes deprecation warnings on PHP 8.2 + @require-mysql @less-than-php-8.2 Scenario: Composer stack with Requests v1 Given an empty directory And a composer.json file: @@ -78,6 +79,10 @@ Feature: Requests integration with both v1 and v2 Scenario: Current version with WordPress-bundled Requests v2 Given a WP installation + # Switch themes because twentytwentyfive requires a version newer than 6.2 + # and it would otherwise cause a fatal error further down. + And I try `wp theme install twentyten` + And I try `wp theme activate twentyten` And I run `wp core update --version=6.2 --force` When I run `wp core version`