Skip to content

Commit 56dda50

Browse files
authored
Apply suggestions from code review
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
1 parent acf2110 commit 56dda50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/cron-event.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Feature: Manage WP Cron events
255255
# Simulate an in-progress cron run by setting the doing_cron transient to now.
256256
When I run `wp eval 'set_transient( "doing_cron", sprintf( "%.22F", microtime( true ) ) );'`
257257

258-
When I run `wp cron event run --due-now`
258+
And I try `wp cron event run --due-now`
259259
Then STDERR should contain:
260260
"""
261261
Warning: A cron event run is already in progress; skipping.
@@ -267,7 +267,7 @@ Feature: Manage WP Cron events
267267

268268
# After the transient is cleared, the run should proceed normally.
269269
When I run `wp transient delete doing_cron`
270-
And I run `wp cron event run --due-now`
270+
And I try `wp cron event run --due-now`
271271
Then STDOUT should contain:
272272
"""
273273
Executed the cron event 'wp_cli_test_event_lock'

0 commit comments

Comments
 (0)