From fb302c35591df96294a88d524ecbfeaf8b29d9d0 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 13 Jul 2023 14:05:43 +0200 Subject: [PATCH] Tests: Fix tests referencing trunk/nightly (#238) * Tests: Only download trunk/nightly on PHP 7+ * Fix another scenario --- features/core-update.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/core-update.feature b/features/core-update.feature index 5fcd3288..0355b790 100644 --- a/features/core-update.feature +++ b/features/core-update.feature @@ -329,7 +329,7 @@ Feature: Update WordPress core When I run `wp post create --post_title='Test post' --porcelain` Then STDOUT should be a number - @require-php-5.6 + @require-php-7.0 Scenario Outline: Use `--version=(nightly|trunk)` to update to the latest nightly version Given a WP install @@ -349,7 +349,7 @@ Feature: Update WordPress core | trunk | | nightly | - @require-php-5.6 + @require-php-7.0 Scenario: Installing latest nightly build should skip cache Given a WP install