Skip to content

Commit 2907e52

Browse files
"try" instead of "run" to account for some warning output when WP_DEBUG is true
1 parent c3cec50 commit 2907e52

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

features/cron-event.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,9 @@ Feature: Manage WP Cron events
123123
"""
124124

125125
And I run `wp config set WP_DEBUG true --raw`
126-
And I run `wp config set WP_DEBUG_DISPLAY false --raw`
127126
And I run `wp config set WP_DEBUG_LOG '{RUN_DIR}/server.log'`
128127

129-
When I run `wp cron event schedule mycronlog now`
128+
When I try `wp cron event schedule mycronlog now`
130129
And I try `wp cron event run --due-now`
131130
Then STDERR should contain:
132131
"""

0 commit comments

Comments
 (0)