@@ -60,6 +60,8 @@ 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
And I run `wp transient list --format=count`
64
66
And save STDOUT as {EXISTING_TRANSIENTS}
65
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`
77
79
And I run `wp transient set foo4 bar4 600 --network`
80
+
78
81
And I run `wp transient delete --all`
79
82
Then STDOUT should be:
80
83
"""
@@ -405,9 +408,14 @@ Feature: Manage WordPress transient cache
405
408
When I run `wp transient list --format=csv`
406
409
Then STDOUT should contain:
407
410
"""
408
- name,value,expiration
409
411
foo,bar,false
412
+ """
413
+ And STDOUT should contain:
414
+ """
410
415
foo2,bar2,95649119999
416
+ """
417
+ And STDOUT should contain:
418
+ """
411
419
foo3,bar3,1321009871
412
420
"""
413
421
@@ -458,9 +466,14 @@ Feature: Manage WordPress transient cache
458
466
When I run `wp transient list --format=csv`
459
467
Then STDOUT should contain:
460
468
"""
461
- name,value,expiration
462
469
foo,bar,false
470
+ """
471
+ And STDOUT should contain:
472
+ """
463
473
foo2,bar2,95649119999
474
+ """
475
+ And STDOUT should contain:
476
+ """
464
477
foo3,bar3,1321009871
465
478
"""
466
479
0 commit comments