Skip to content

Commit 012c2a1

Browse files
Removed leading space in expected output. Whoops!
1 parent 73bda11 commit 012c2a1

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
@@ -102,7 +102,7 @@ Feature: Manage WP Cron events
102102
"""
103103

104104
When I run `wp cron event schedule mycron now`
105-
And I run `wp cron event run --due-now`
105+
And I try `wp cron event run --due-now`
106106
Then STDOUT should contain:
107107
"""
108108
MY SHUTDOWN FUNCTION
@@ -129,7 +129,7 @@ Feature: Manage WP Cron events
129129
And I try `wp cron event run --due-now`
130130
Then STDERR should contain:
131131
"""
132-
Fatal error: Uncaught Error: Call to undefined function breakthings()
132+
Fatal error: Uncaught Error: Call to undefined function breakthings()
133133
"""
134134
Then the {RUN_DIR}/server.log file should exist
135135
And the {RUN_DIR}/server.log file should contain:

0 commit comments

Comments
 (0)