From 1682b68d4b3d84aeefe5f47668410469cf07fd4e Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Fri, 30 Oct 2026 19:48:41 +0100 Subject: [PATCH] Test wp-cli/wp-cli-tests#398 Co-Authored-By: Claude Opus 5.5 --- composer.json | 2 +- features/transient.feature | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a3335472..10cf673d 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2 || ^3", - "wp-cli/wp-cli-tests": "^5" + "wp-cli/wp-cli-tests": "dev-set-options-step as 5.3.99" }, "config": { "process-timeout": 7200, diff --git a/features/transient.feature b/features/transient.feature index 10111b0a..0f6465a3 100644 --- a/features/transient.feature +++ b/features/transient.feature @@ -134,8 +134,10 @@ Feature: Manage WordPress transient cache And I run `wp transient set foo3 bar3 600 --network` And I run `wp transient set foo4 bar4 600 --network` # Change timeout to be in the past. - And I run `wp option update _transient_timeout_foo 1321009871` - And I run `wp option update _site_transient_timeout_foo3 1321009871` + And these options: + | name | value | + | _transient_timeout_foo | 1321009871 | + | _site_transient_timeout_foo3 | 1321009871 | When I run `wp transient delete --expired` Then STDOUT should be: