Enable registration on my-account page in acceptance tests

[MAILPOET-3657]
This commit is contained in:
Rostislav Wolny
2021-08-03 10:38:38 +02:00
committed by Veljko V
parent b7cdb71f18
commit 61e61d4612

View File

@@ -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