-
Notifications
You must be signed in to change notification settings - Fork 24
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
Disable WP Cron by default for Behat tests #28
Conversation
@@ -741,10 +741,14 @@ public function install_wp( $subdir = '' ) { | |||
|
|||
$subdir = $this->replace_variables( $subdir ); | |||
|
|||
// Disable WP Cron by default to avoid bogus HTTP requests in CLI context. | |||
$env = self::get_process_env_variables(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$env
doesn't seem to be used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right, left-over from something I tested (providing an override).
wp-cli/cron-command#36 fixes the broken test for |
Disable WP Cron by default for Behat tests
Fixes #27