Skip to content

Commit 4183a85

Browse files
update behat tests
1 parent ebf084c commit 4183a85

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

features/cron-event.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@ Feature: Manage WP Cron events
160160
"""
161161

162162
Scenario: Confirm that cron event run in debug mode shows the start of events
163-
When I run `wp cron event run --due-now --debug=cron`
164-
Then STDERR should contain:
163+
When I run `wp cron event run wp_version_check --debug=cron`
164+
Then STDOUT should contain:
165165
"""
166-
Beginning execution of cron event
166+
Executed the cron event 'wp_version_check'
167167
"""
168168
And STDOUT should contain:
169169
"""
170-
Executed the cron event
170+
Executed a total of 1 cron event
171171
"""
172-
And STDOUT should contain:
172+
And STDERR should contain:
173173
"""
174-
Executed a total of
174+
Debug: Beginning execution of cron event 'wp_version_check'
175175
"""

0 commit comments

Comments
 (0)