Commit fc0ec41a authored by Boxiang Sun's avatar Boxiang Sun

Remove Base_immediateReindexObject

Replase it by add reindex_on_commit=True in newContent
parent d5fab108
...@@ -3270,7 +3270,7 @@ class TestAccessControl(ERP5TypeTestCase): ...@@ -3270,7 +3270,7 @@ class TestAccessControl(ERP5TypeTestCase):
).manage_proxy(('Manager',)) ).manage_proxy(('Manager',))
def test(self): def test(self):
self.portal.person_module.newContent().Base_immediateReindexObject() self.portal.person_module.newContent(reindex_on_commit=True)
def test_suite(): def test_suite():
......
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