From b44b3e930246bacc9033573afee220d457616dfe Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Thu, 19 Mar 2026 11:11:52 +0100 Subject: [PATCH] Re-enable test of valid email address with a format that may cause problems. This needed fixes in other packages, which have been available for a while now. --- news/+0bcf4e74.tests.rst | 2 ++ src/plone/app/users/tests/email_login.rst | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 news/+0bcf4e74.tests.rst diff --git a/news/+0bcf4e74.tests.rst b/news/+0bcf4e74.tests.rst new file mode 100644 index 0000000..5487161 --- /dev/null +++ b/news/+0bcf4e74.tests.rst @@ -0,0 +1,2 @@ +Re-enable test of valid email address with a format that may cause problems. +[maurits] diff --git a/src/plone/app/users/tests/email_login.rst b/src/plone/app/users/tests/email_login.rst index 1a4d8ed..b475feb 100644 --- a/src/plone/app/users/tests/email_login.rst +++ b/src/plone/app/users/tests/email_login.rst @@ -150,10 +150,9 @@ Pick a different email address. Pick a valid email address with a format that may cause problems. This needs plone.schema 2.0.2, with a better email validation. This also needs a Products.CMFPlone release where the RegistrationTool has the principal_id_or_login_name_exists method. -This is expected in 6.0.15, 6.1.1, and 6.2.0a1. -TODO: enable this test after we have those releases. +This is available since 6.0.15, 6.1.1, and 6.2.0a1. - .. >>> browser.getControl('Email').value = "o'hara@example.com" - .. >>> browser.getControl('Save').click() - .. >>> browser.contents - .. '...Changes saved...' + >>> browser.getControl('Email').value = "o'hara@example.com" + >>> browser.getControl('Save').click() + >>> browser.contents + '...Changes saved...'