Skip to content

Commit 9764acf

Browse files
committed
Update expected result of 'cron test' command
1 parent 243201f commit 9764acf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ Feature: Manage WP-Cron events and schedules
190190

191191
Scenario: Testing WP-Cron
192192
When I try `wp cron test`
193-
Then STDERR should not contain:
193+
Then STDERR should be:
194194
"""
195-
Error:
195+
Error: The DISABLE_WP_CRON constant is set to true. WP-Cron spawning is disabled.
196196
"""
197197

198198
Scenario: Run multiple cron events

0 commit comments

Comments
 (0)