Skip to content

Commit 4b72c02

Browse files
committed
update failing tests after new transient in WP core
1 parent 205c004 commit 4b72c02

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

features/transient.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Feature: Manage WordPress transient cache
5757

5858
Scenario: Deleting all transients on single site
5959
Given a WP install
60+
And I run `wp config set WP_DEVELOPMENT_MODE all`
6061
And I run `wp transient list --format=count`
6162
And save STDOUT as {EXISTING_TRANSIENTS}
6263
And I run `expr {EXISTING_TRANSIENTS} + 2`
@@ -193,6 +194,7 @@ Feature: Manage WordPress transient cache
193194

194195
Scenario: Deleting all transients on multisite
195196
Given a WP multisite install
197+
And I run `wp config set WP_DEVELOPMENT_MODE all`
196198
And I run `wp site create --slug=foo`
197199
And I run `wp transient list --format=count`
198200
And save STDOUT as {EXISTING_TRANSIENTS}
@@ -420,7 +422,7 @@ Feature: Manage WordPress transient cache
420422
"""
421423

422424
When I run `wp transient list --network --format=csv`
423-
Then STDOUT should be:
425+
Then STDOUT should contain:
424426
"""
425427
name,value,expiration
426428
foo4,bar4,false
@@ -465,7 +467,7 @@ Feature: Manage WordPress transient cache
465467
"""
466468

467469
When I run `wp transient list --network --format=csv`
468-
Then STDOUT should be:
470+
Then STDOUT should contain:
469471
"""
470472
name,value,expiration
471473
foo4,bar4,false

0 commit comments

Comments
 (0)