Commit 2e3e85e7 authored by Ivan Tyagov's avatar Ivan Tyagov

Since r21027 newly created user account is not reindex immediately.

Adjust that in test.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21107 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a66e9464
...@@ -213,6 +213,9 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -213,6 +213,9 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional):
website = portal.web_site_module[self.website_id] website = portal.web_site_module[self.website_id]
website.WebSite_createWebSiteAccount('WebSite_viewRegistrationDialog') website.WebSite_createWebSiteAccount('WebSite_viewRegistrationDialog')
get_transaction().commit()
self.tic()
# find person object by reference # find person object by reference
person = website.ERP5Site_getAuthenticatedMemberPersonValue(kw['reference']) person = website.ERP5Site_getAuthenticatedMemberPersonValue(kw['reference'])
self.assertEquals(person.getReference(), kw['reference']) self.assertEquals(person.getReference(), 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