From 914d2a4d9feea31c7e44a3bcb733043929be6537 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Fri, 30 Oct 2026 22:15:20 +0100 Subject: [PATCH] Test wp-cli/wp-cli-tests#404 Co-Authored-By: Claude Opus 5.5 --- composer.json | 2 +- features/menu-location.feature | 5 ++++- features/user-application-password.feature | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index fcd353184..19232ccd9 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "wp-cli/extension-command": "^1.2 || ^2 || ^3", "wp-cli/media-command": "^1.1 || ^2 || ^3", "wp-cli/super-admin-command": "^1 || ^2 || ^3", - "wp-cli/wp-cli-tests": "^5" + "wp-cli/wp-cli-tests": "dev-cached-extension-installs as 5.3.99" }, "config": { "process-timeout": 7200, diff --git a/features/menu-location.feature b/features/menu-location.feature index 1568eafd7..1b3a61be8 100644 --- a/features/menu-location.feature +++ b/features/menu-location.feature @@ -3,7 +3,10 @@ Feature: Manage WordPress menu locations Background: Given a WP install And I run `wp theme delete --all --force` - And I run `wp theme install twentytwelve --activate` + And these installed and active themes: + """ + twentytwelve + """ Scenario: Assign / remove location from a menu When I run `wp menu location list` diff --git a/features/user-application-password.feature b/features/user-application-password.feature index c2779900b..ed4269afd 100644 --- a/features/user-application-password.feature +++ b/features/user-application-password.feature @@ -4,7 +4,10 @@ Feature: Manage user custom fields @less-than-php-8.0 @require-mysql Scenario: User application passwords are disabled for WordPress lower than 5.6 Given a WP install - And I try `wp theme install twentytwenty --activate` + And these installed and active themes: + """ + twentytwenty + """ And I run `wp core download --version=5.5 --force` When I try `wp user application-password create 1 myapp`