From 715fd5f261376e15b7efb2a9b725392b533c3fa5 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Wed, 9 Aug 2023 16:25:59 -0700 Subject: [PATCH] Fix legacy test by running against WP versions when PHP matches --- features/media-regenerate.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/media-regenerate.feature b/features/media-regenerate.feature index fad7cee1..6e80d5a0 100644 --- a/features/media-regenerate.feature +++ b/features/media-regenerate.feature @@ -1213,7 +1213,7 @@ Feature: Regenerate WordPress attachments # Audio/video `_cover_hash` meta, used to determine if sub attachment, added in WP 3.9 # Test on PHP 5.6 latest only, and iterate over various WP versions. - @require-wp-latest @require-php-5.6 @less-than-php-7.0 + @require-php-5.6 @less-than-php-7.0 Scenario Outline: Regenerating audio with thumbnail # If version is trunk/latest then can get warning about checksums not being available, so STDERR may or may not be empty Given I try `wp core download --version= --force` @@ -1268,7 +1268,7 @@ Feature: Regenerate WordPress attachments Examples: | version | - | latest | + | 6.2 | | 4.2 | | 3.9 |