Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 4 additions & 2 deletions features/transient.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading