We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db0214 commit e675b11Copy full SHA for e675b11
features/transient.feature
@@ -57,6 +57,10 @@ Feature: Manage WordPress transient cache
57
58
Scenario: Deleting all transients on single site
59
Given a WP install
60
+ And I run `wp transient list --format=count`
61
+ And save STDOUT as {EXISTING_TRANSIENTS}
62
+ And I run `expr {EXISTING_TRANSIENTS} + 2`
63
+ And save STDOUT as {EXPECTED_TRANSIENTS}
64
65
When I try `wp transient delete`
66
Then STDERR should be:
@@ -71,7 +75,7 @@ Feature: Manage WordPress transient cache
71
75
And I run `wp transient delete --all`
72
76
Then STDOUT should be:
73
77
"""
74
- Success: 2 transients deleted from the database.
78
+ Success: {EXPECTED_TRANSIENTS} transients deleted from the database.
79
80
81
When I try `wp transient get foo`
0 commit comments