diff --git a/tests/_support/DefaultsExtension.php b/tests/_support/DefaultsExtension.php index e249c313a6..fbde0b75cd 100644 --- a/tests/_support/DefaultsExtension.php +++ b/tests/_support/DefaultsExtension.php @@ -81,6 +81,7 @@ class DefaultsExtension extends Extension { update_option('woocommerce_bacs_settings', ['enabled' => 'yes'], 'yes'); update_option('woocommerce_cod_settings', ['enabled' => 'yes'], 'yes'); update_option('woocommerce_enable_signup_and_login_from_checkout', 'yes', 'no'); + update_option('woocommerce_enable_myaccount_registration', 'yes', 'no'); // don't send customer/order emails, the mail() function is not configured and outputs warning, // these lines can be removed when https://github.com/lucatume/wp-browser/issues/316 is solved