@@ -60,7 +60,6 @@ Feature: Manage WordPress transient cache
60
60
# We set `WP_DEVELOPMENT_MODE` to stop WordPress from automatically creating
61
61
# additional transients which cause some steps to fail when testing.
62
62
And I run `wp config set WP_DEVELOPMENT_MODE all`
63
- And I run `wp config set DISABLE_WP_CRON true --raw`
64
63
65
64
And I run `wp transient list --format=count`
66
65
And save STDOUT as {EXISTING_TRANSIENTS}
@@ -128,10 +127,10 @@ Feature: Manage WordPress transient cache
128
127
129
128
Scenario : Deleting expired transients on single site
130
129
Given a WP install
131
- And I run `wp transient set foo bar 60 `
132
- And I run `wp transient set foo2 bar2 60 `
133
- And I run `wp transient set foo3 bar3 60 --network`
134
- And I run `wp transient set foo4 bar4 60 --network`
130
+ And I run `wp transient set foo bar 600 `
131
+ And I run `wp transient set foo2 bar2 600 `
132
+ And I run `wp transient set foo3 bar3 600 --network`
133
+ And I run `wp transient set foo4 bar4 600 --network`
135
134
# Change timeout to be in the past.
136
135
And I run `wp option update _transient_timeout_foo 1321009871`
137
136
And I run `wp option update _site_transient_timeout_foo3 1321009871`
@@ -295,12 +294,12 @@ Feature: Manage WordPress transient cache
295
294
Scenario : Deleting expired transients on multisite
296
295
Given a WP multisite install
297
296
And I run `wp site create --slug=foo`
298
- And I run `wp transient set foo bar 60 `
299
- And I run `wp transient set foo2 bar2 60 `
300
- And I run `wp transient set foo3 bar3 60 --network`
301
- And I run `wp transient set foo4 bar4 60 --network`
302
- And I run `wp --url=example.com/foo transient set foo5 bar5 60 --network`
303
- And I run `wp --url=example.com/foo transient set foo6 bar6 60 --network`
297
+ And I run `wp transient set foo bar 600 `
298
+ And I run `wp transient set foo2 bar2 600 `
299
+ And I run `wp transient set foo3 bar3 600 --network`
300
+ And I run `wp transient set foo4 bar4 600 --network`
301
+ And I run `wp --url=example.com/foo transient set foo5 bar5 600 --network`
302
+ And I run `wp --url=example.com/foo transient set foo6 bar6 600 --network`
304
303
# Change timeout to be in the past.
305
304
And I run `wp option update _transient_timeout_foo 1321009871`
306
305
And I run `wp site option update _site_transient_timeout_foo3 1321009871`
0 commit comments