Commit e48c3466 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_*:Replace recursiveImmediateReindexObject by self.commit() on tests

parent 698b2580
...@@ -282,8 +282,7 @@ class TestSlapOSComputerConsumptionTioXMLFile_solveInvoicingGeneration( ...@@ -282,8 +282,7 @@ class TestSlapOSComputerConsumptionTioXMLFile_solveInvoicingGeneration(
reference=reference, password=password) reference=reference, password=password)
second_person.newContent(portal_type='Assignment', role='member').open() second_person.newContent(portal_type='Assignment', role='member').open()
transaction.commit() self.commit()
person.recursiveImmediateReindexObject()
self.person = person self.person = person
self.person_reference = person.getReference() self.person_reference = person.getReference()
self.second_person = second_person self.second_person = second_person
......
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