Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/cron-event.feature
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Feature: Manage WP Cron events
"""
Call to undefined function breakthings()
"""
Then the {RUN_DIR}/server.log file should exist
And the {RUN_DIR}/server.log file should exist
And the {RUN_DIR}/server.log file should contain:
"""
LOG A SHUTDOWN FROM ERROR
Expand Down
4 changes: 2 additions & 2 deletions features/cron.feature
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Feature: Manage WP-Cron events and schedules

Scenario: Scheduling, running, and deleting duplicate events
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=banana`
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
And I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
Then STDOUT should not be empty

When I run `wp cron event list --format=csv --fields=hook,recurrence,args`
Expand Down Expand Up @@ -111,7 +111,7 @@ Feature: Manage WP-Cron events and schedules
"""

When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=banana`
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
And I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
Then STDOUT should not be empty

When I run `wp cron event list`
Expand Down