File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ Feature: Manage WP Cron events
133
133
"""
134
134
Call to undefined function breakthings()
135
135
"""
136
- Then the {RUN_DIR}/server.log file should exist
136
+ And the {RUN_DIR}/server.log file should exist
137
137
And the {RUN_DIR}/server.log file should contain:
138
138
"""
139
139
LOG A SHUTDOWN FROM ERROR
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ Feature: Manage WP-Cron events and schedules
75
75
76
76
Scenario : Scheduling, running, and deleting duplicate events
77
77
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=banana`
78
- When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
78
+ And I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
79
79
Then STDOUT should not be empty
80
80
81
81
When I run `wp cron event list --format=csv --fields=hook,recurrence,args`
@@ -111,7 +111,7 @@ Feature: Manage WP-Cron events and schedules
111
111
"""
112
112
113
113
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=banana`
114
- When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
114
+ And I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
115
115
Then STDOUT should not be empty
116
116
117
117
When I run `wp cron event list`
You can’t perform that action at this time.
0 commit comments