Skip to content
Open
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
10 changes: 10 additions & 0 deletions features/cron.feature
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,16 @@ Feature: Manage WP-Cron events and schedules
https://example.com
"""

When I try `wp cron test`
Then STDERR should contain:
"""
Warning: The ALTERNATE_WP_CRON constant is set to true. WP-Cron spawning is not asynchronous.
"""
And STDERR should contain:
"""
Error: WP-Cron spawn returned HTTP status code: 403 Forbidden
"""

Scenario: Listing duplicated cron events
When I run `wp cron event schedule wp_cli_test_event_1 '+1 hour 5 minutes' hourly`
Then STDOUT should not be empty
Expand Down
Loading