diff --git a/features/cron.feature b/features/cron.feature index e69e2e6f..e653960b 100644 --- a/features/cron.feature +++ b/features/cron.feature @@ -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