Commit c0771cfb authored by Jérome Perrin's avatar Jérome Perrin

fix tests for reference generation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34413 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e0e4141d
......@@ -2926,7 +2926,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
Movement_getExplanationTitle='Transaction 1',
date=DateTime(2006, 2, 1),
Movement_getExplanationTranslatedPortalType='Accounting Transaction',
Movement_getExplanationReference='AT 1',
Movement_getExplanationReference=None,
Movement_getMirrorSectionTitle='Client 1',
debit=0, credit=100, running_total_price=-100, )
......@@ -2935,7 +2935,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
Movement_getExplanationTitle='Transaction 2',
date=DateTime(2006, 2, 1, 0, 1),
Movement_getExplanationTranslatedPortalType='Accounting Transaction',
Movement_getExplanationReference='AT 2',
Movement_getExplanationReference=None,
Movement_getMirrorSectionTitle='Client 1',
debit=200, credit=0, running_total_price=100, )
......
......@@ -3300,7 +3300,7 @@ class TestSaleInvoice(TestSaleInvoiceMixin, TestInvoice, ERP5TypeTestCase):
self.portal.portal_workflow.doActionFor(invoice, 'confirm_action')
# We could generate a better reference here.
self.assertEquals('SIT 1', invoice.getReference())
self.assertEquals('1', invoice.getReference())
def test_16_ManuallyAddedMovements(self, quiet=quiet):
"""
......
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