From c08364e446b997e220d7ac399ef346a8bec2cf43 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 2 Nov 2026 05:13:43 +0100 Subject: [PATCH] Use `{PLUGIN_DIR}` and `{THEME_DIR}` in tests Co-Authored-By: Claude Opus 5.5 --- features/plugin-update.feature | 2 -- features/plugin.feature | 2 -- features/theme-update.feature | 2 -- 3 files changed, 6 deletions(-) diff --git a/features/plugin-update.feature b/features/plugin-update.feature index fe5a57f0..c343a6c0 100644 --- a/features/plugin-update.feature +++ b/features/plugin-update.feature @@ -122,8 +122,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 1053f0c5..e6b04a0f 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 c96e38d4..2d0d1f64 100644 --- a/features/theme-update.feature +++ b/features/theme-update.feature @@ -35,8 +35,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.