diff --git a/product/ERP5/tests/testCalendar.py b/product/ERP5/tests/testCalendar.py index 94b9190672334d67a8eb23102c972dc17e60b8d8..dd446cddce61726b159d2185493a7673991c25e9 100644 --- a/product/ERP5/tests/testCalendar.py +++ b/product/ERP5/tests/testCalendar.py @@ -96,6 +96,9 @@ class TestCalendar(ERP5ReportTestCase): self._addPropertySheet('Presence Request Period', 'CalendarPeriodConstraint') self._addPropertySheet('Group Presence Period', 'CalendarPeriodConstraint') + # regenerate accessors after category changes & portal type changes + transaction.commit() + def beforeTearDown(self): transaction.abort() for module in (self.portal.group_calendar_module,