Skip to content

Commit 1eadbe6

Browse files
authored
Merge pull request #36 from ocean90/fix/cron-test
Make sure WP Cron is enabled for cron tests
2 parents 243201f + 6a6ba3d commit 1eadbe6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"require-dev": {
1818
"wp-cli/entity-command": "^1.3 || ^2",
19-
"wp-cli/wp-cli-tests": "^2.0.7"
19+
"wp-cli/wp-cli-tests": "^2.0.11"
2020
},
2121
"config": {
2222
"process-timeout": 7200,

features/cron.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Feature: Manage WP-Cron events and schedules
22

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

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

0 commit comments

Comments
 (0)