Commit 781af4fa authored by Nicolas Delaby's avatar Nicolas Delaby

useless immediateReindexObject()

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35267 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eccbbb77
...@@ -244,7 +244,6 @@ class TestDocument(TestDocumentMixin): ...@@ -244,7 +244,6 @@ class TestDocument(TestDocumentMixin):
filename = 'TEST-en-002.doc' filename = 'TEST-en-002.doc'
file = makeFileUpload(filename) file = makeFileUpload(filename)
document = self.portal.portal_contributions.newContent(file=file) document = self.portal.portal_contributions.newContent(file=file)
document.immediateReindexObject()
transaction.commit() transaction.commit()
self.tic() self.tic()
document_url = document.getRelativeUrl() document_url = document.getRelativeUrl()
......
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