From fe264be2d01b30992b7c8a370506bbc370b92825 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Fri, 30 Oct 2026 19:44:31 +0100 Subject: [PATCH] Test wp-cli/wp-cli-tests#397 Co-Authored-By: Claude Opus 5.5 --- composer.json | 2 +- features/plugin-update.feature | 2 -- features/plugin.feature | 2 -- features/theme-update.feature | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 2e959323..9df43e77 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "wp-cli/entity-command": "^1.3 || ^2 || ^3", "wp-cli/language-command": "^2.0 || ^3", "wp-cli/scaffold-command": "^1.2 || ^2 || ^3", - "wp-cli/wp-cli-tests": "^5" + "wp-cli/wp-cli-tests": "dev-builtin-directory-variables as 5.3.99" }, "config": { "process-timeout": 7200, diff --git a/features/plugin-update.feature b/features/plugin-update.feature index 3bb88744..485bff33 100644 --- a/features/plugin-update.feature +++ b/features/plugin-update.feature @@ -116,8 +116,6 @@ Feature: Update WordPress plugins @require-wp-5.2 Scenario: Not giving a slug on update should throw an error unless --all given Given a WP install - And I run `wp plugin path` - And save STDOUT as {PLUGIN_DIR} And an empty {PLUGIN_DIR} directory # No plugins installed. Don't give an error if --all given for BC. diff --git a/features/plugin.feature b/features/plugin.feature index 07dd97db..972654fa 100644 --- a/features/plugin.feature +++ b/features/plugin.feature @@ -2,8 +2,6 @@ Feature: Manage WordPress plugins Scenario: Create, activate and check plugin status Given a WP install - And I run `wp plugin path` - And save STDOUT as {PLUGIN_DIR} When I run `wp scaffold plugin --skip-tests plugin1` Then STDOUT should not be empty diff --git a/features/theme-update.feature b/features/theme-update.feature index 20038036..3ac5efa3 100644 --- a/features/theme-update.feature +++ b/features/theme-update.feature @@ -32,8 +32,6 @@ Feature: Update WordPress themes @require-wp-4.5 Scenario: Not giving a slug on update should throw an error unless --all given Given a WP install - And I run `wp theme path` - And save STDOUT as {THEME_DIR} And an empty {THEME_DIR} directory # No themes installed. Don't give an error if --all given for BC.