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
3 changes: 3 additions & 0 deletions features/cron-event.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Feature: Manage WP Cron events
Background:
Given a WP install

# Fails on WordPress 4.9 because `wp cron event run --due-now`
# executes the "wp_privacy_delete_old_export_files" event there.
@require-wp-5.0
Scenario: --due-now with supplied events should only run those
# WP throws a notice here for older versions of core.
When I try `wp cron event run --all`
Expand Down
3 changes: 3 additions & 0 deletions features/cron.feature
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ Feature: Manage WP-Cron events and schedules
Success: Executed a total of
"""

# Fails on WordPress 4.9 because `wp cron event run --due-now`
# executes the "wp_privacy_delete_old_export_files" event there.
@require-wp-5.0
Scenario: Run currently scheduled events
# WP throws a notice here for older versions of core.
When I try `wp cron event run --all`
Expand Down