We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4414ef1 commit fb3c95eCopy full SHA for fb3c95e
1 file changed
features/transient.feature
@@ -60,6 +60,8 @@ Feature: Manage WordPress transient cache
60
# We set `WP_DEVELOPMENT_MODE` to stop WordPress from automatically creating
61
# additional transients which cause some steps to fail when testing.
62
And I run `wp config set WP_DEVELOPMENT_MODE all`
63
+ And I run `wp config set DISABLE_WP_CRON true --raw`
64
+
65
And I run `wp transient list --format=count`
66
And save STDOUT as {EXISTING_TRANSIENTS}
67
And I run `expr {EXISTING_TRANSIENTS} + 2`
@@ -75,6 +77,7 @@ Feature: Manage WordPress transient cache
75
77
And I run `wp transient set foo2 bar2 600`
76
78
And I run `wp transient set foo3 bar3 --network`
79
And I run `wp transient set foo4 bar4 600 --network`
80
81
And I run `wp transient delete --all`
82
Then STDOUT should be:
83
"""
0 commit comments