Commit 572a3ee3 authored by Yusuke Muraoka's avatar Yusuke Muraoka

update expected references

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33618 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1957c7dd
......@@ -2523,6 +2523,10 @@ class TestSaleInvoice(TestSaleInvoiceMixin, TestInvoice, ERP5TypeTestCase):
# fix inheritance
login = TestInvoiceMixin.login
def afterSetUp(self):
super(TestSaleInvoice, self).afterSetUp()
self.portal.portal_ids.setLastGeneratedId(0, id_group='Accounting_Transaction_Module-Sale_Invoice_Transaction')
@UnrestrictedMethod
def createCategories(self):
TestPackingListMixin.createCategories(self)
......@@ -3296,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('1', invoice.getReference())
self.assertEquals('SIT 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