Commit be63ae43 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_payroll_l10n_fr: forces creation of id generator in tests

parent 04835112
......@@ -53,6 +53,8 @@ class TestDSNSocialDeclarationReport(ERP5TypeTestCase):
self.portal = self.getPortalObject()
self.dsn_module = self.portal.getDefaultModuleValue("DSN Monthly Report")
self.pinDateTime(DateTime(2015, 12, 01))
# Create the id_group 'dsn_event_counter'
self.portal.portal_ids.generateNewId(id_group='dsn_event_counter', id_generator='continuous_integer_increasing')
def beforeTearDown(self):
self.unpinDateTime()
......
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