File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments