Commit 2cdbe373 authored by Fabien Morin's avatar Fabien Morin

reference was wrong in stepPaysheetCreateUrssafModelLine, fix it and add...

reference was wrong in stepPaysheetCreateUrssafModelLine, fix it and add description to explain why she is the same as another step.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27456 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2a497f59
......@@ -246,11 +246,14 @@ class TestNewPayrollMixin(ERP5ReportTestCase, TestBPMMixin):
sequence.edit(urssaf_model_line_with_slices = model_line)
def stepPaysheetCreateUrssafModelLine(self, sequence=None, **kw):
'''The model line created here have the same reference than the model line
created in stepModelCreateUrssafModelLine. This is used for line
overloading tests'''
paysheet = sequence.get('paysheet')
model_line = self.createModelLine(paysheet)
model_line.edit(title='Urssaf',
int_index=2,
reference='urssaf_model_line_4',
reference='urssaf_model_line',
trade_phase='trade_phase/payroll/france/urssaf',
resource_value=sequence.get('urssaf_payroll_service'),
variation_category_list=['tax_category/employee_share',
......
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