From b8c203a5207779ba7cb6cde668980a6b2466ddff Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Mon, 9 Jan 2023 16:05:46 -0800 Subject: [PATCH] Fix failing tests by switching to WordPress 4.1 as minor update test --- features/core-update.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/core-update.feature b/features/core-update.feature index 6576f089..2aef8068 100644 --- a/features/core-update.feature +++ b/features/core-update.feature @@ -37,14 +37,14 @@ Feature: Update WordPress core Given a WP install And I try `wp theme install twentytwenty --activate` - When I run `wp core download --version=3.7.9 --force` + When I run `wp core download --version=4.1 --force` Then STDOUT should not be empty # WP core throws notice for PHP 8+. When I try `wp core update --minor` Then STDOUT should contain: """ - Updating to version {WP_VERSION-3.7-latest} + Updating to version {WP_VERSION-4.1-latest} """ And STDOUT should contain: """ @@ -60,7 +60,7 @@ Feature: Update WordPress core When I run `wp core version` Then STDOUT should be: """ - {WP_VERSION-3.7-latest} + {WP_VERSION-4.1-latest} """ Scenario: Update to the latest minor release (PHP 7.1 compatible with WP >= 3.9)