Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure WP Cron is enabled for cron tests #36

Merged
merged 2 commits into from Nov 24, 2018
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -16,7 +16,7 @@
},
"require-dev": {
"wp-cli/entity-command": "^1.3 || ^2",
"wp-cli/wp-cli-tests": "^2.0.7"
"wp-cli/wp-cli-tests": "^2.0.11"
},
"config": {
"process-timeout": 7200,
Expand Down
1 change: 1 addition & 0 deletions features/cron.feature
Expand Up @@ -2,6 +2,7 @@ Feature: Manage WP-Cron events and schedules

Background:
Given a WP install
And I run `wp config set DISABLE_WP_CRON false --raw --type=constant --anchor='// ** MySQL settings ** //'`

Scenario: Scheduling and then deleting an event
When I run `wp cron event schedule wp_cli_test_event_1 '+1 hour 5 minutes' --apple=banana`
Expand Down