We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bfde16 + 1b2b055 commit dd995f9Copy full SHA for dd995f9
features/cron.feature
@@ -378,6 +378,16 @@ Feature: Manage WP-Cron events and schedules
378
https://example.com
379
"""
380
381
+ When I try `wp cron test`
382
+ Then STDERR should contain:
383
+ """
384
+ Warning: The ALTERNATE_WP_CRON constant is set to true. WP-Cron spawning is not asynchronous.
385
386
+ And STDERR should contain:
387
388
+ Error: WP-Cron spawn returned HTTP status code: 403 Forbidden
389
390
+
391
Scenario: Listing duplicated cron events
392
When I run `wp cron event schedule wp_cli_test_event_1 '+1 hour 5 minutes' hourly`
393
Then STDOUT should not be empty
0 commit comments