From 38ca3aa66a37ed5fe7888913209dd71add9f8815 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 21 May 2026 15:09:20 +0200 Subject: [PATCH] Fix tests involving WordPress 7.0 --- features/core-check-update-db.feature | 1 + features/core-update.feature | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/features/core-check-update-db.feature b/features/core-check-update-db.feature index b8e3bd41..bf34949b 100644 --- a/features/core-check-update-db.feature +++ b/features/core-check-update-db.feature @@ -43,6 +43,7 @@ Feature: Check if WordPress database update is needed Success: WordPress database is up to date. """ + @require-php-7.4 Scenario: Check if database update is needed across network Given a WP multisite install And a disable_sidebar_check.php file: diff --git a/features/core-update.feature b/features/core-update.feature index 7766e52e..eb75258f 100644 --- a/features/core-update.feature +++ b/features/core-update.feature @@ -161,7 +161,7 @@ Feature: Update WordPress core Downloading """ - @require-php-7.0 + @require-php-7.4 Scenario: Don't run update when up-to-date Given a WP install And I run `wp core update` @@ -387,6 +387,7 @@ Feature: Update WordPress core Success: """ + @require-php-7.4 Scenario: No HTML output from async translation updates during core update Given a WP install And an empty cache