Skip to content

Commit 1753d33

Browse files
schlesseraclaude
andcommitted
Keep commands that change how WordPress is loaded out of shared processes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 247052d commit 1753d33

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

‎features/transient.feature‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,14 @@ Feature: Manage WordPress transient cache
223223
"""
224224

225225
Given these setup commands:
226-
| command |
227-
| wp transient set foo bar |
228-
| wp transient set foo2 bar2 600 |
229-
| wp transient set foo3 bar3 --network |
230-
| wp transient set foo4 bar4 600 --network |
231-
| wp --url=example.com/foo transient set foo5 bar5 --network |
232-
| wp --url=example.com/foo transient set foo6 bar6 600 --network |
233-
When I run `wp transient delete --all`
226+
| command |
227+
| wp transient set foo bar |
228+
| wp transient set foo2 bar2 600 |
229+
| wp transient set foo3 bar3 --network |
230+
| wp transient set foo4 bar4 600 --network |
231+
When I run `wp --url=example.com/foo transient set foo5 bar5 --network`
232+
And I run `wp --url=example.com/foo transient set foo6 bar6 600 --network`
233+
And I run `wp transient delete --all`
234234
Then STDOUT should be:
235235
"""
236236
Success: {EXPECTED_TRANSIENTS} transients deleted from the database.
@@ -307,19 +307,19 @@ Feature: Manage WordPress transient cache
307307
Given a WP multisite install
308308
And I run `wp site create --slug=foo`
309309
And these setup commands:
310-
| command |
311-
| wp transient set foo bar 600 |
312-
| wp transient set foo2 bar2 600 |
313-
| wp transient set foo3 bar3 600 --network |
314-
| wp transient set foo4 bar4 600 --network |
315-
| wp --url=example.com/foo transient set foo5 bar5 600 --network |
316-
| wp --url=example.com/foo transient set foo6 bar6 600 --network |
310+
| command |
311+
| wp transient set foo bar 600 |
312+
| wp transient set foo2 bar2 600 |
313+
| wp transient set foo3 bar3 600 --network |
314+
| wp transient set foo4 bar4 600 --network |
315+
And I run `wp --url=example.com/foo transient set foo5 bar5 600 --network`
316+
And I run `wp --url=example.com/foo transient set foo6 bar6 600 --network`
317317
# Change timeout to be in the past.
318318
And these setup commands:
319-
| command |
320-
| wp option update _transient_timeout_foo 1321009871 |
321-
| wp site option update _site_transient_timeout_foo3 1321009871 |
322-
| wp --url=example.com/foo site option update _site_transient_timeout_foo5 1321009871 |
319+
| command |
320+
| wp option update _transient_timeout_foo 1321009871 |
321+
| wp site option update _site_transient_timeout_foo3 1321009871 |
322+
And I run `wp --url=example.com/foo site option update _site_transient_timeout_foo5 1321009871`
323323

324324
When I run `wp transient delete --expired`
325325
Then STDOUT should be:

0 commit comments

Comments
 (0)