From 61e61d4612e2f8de02f596cbf2edaaf6afbcd3fe Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 3 Aug 2021 10:38:38 +0200 Subject: [PATCH] Enable registration on my-account page in acceptance tests [MAILPOET-3657] --- tests/_support/DefaultsExtension.php | 1 + 1 file changed, 1 insertion(+) 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