Commit 2e62d37a authored by Romain Courteaud's avatar Romain Courteaud

erp5_web uses WebSite_viewRegistrationDialog to create new account


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18983 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d74c66fd
......@@ -209,7 +209,7 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional):
for key, item in kw.items():
request.set('field_your_%s' %key, item)
website = portal.web_site_module[self.website_id]
website.WebSite_createWebSiteAccount()
website.WebSite_createWebSiteAccount('WebSite_viewRegistrationDialog')
# find person object by reference
person = website.ERP5Site_getAuthenticatedMemberPersonValue(kw['reference'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment