Commit 6705c81a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

rule should be asserted with its reference instead of its id.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31865 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 939a6504
...@@ -258,7 +258,7 @@ class TestInvoiceMixin(TestPackingListMixin, ...@@ -258,7 +258,7 @@ class TestInvoiceMixin(TestPackingListMixin,
invoicing_rule = invoicing_rule_list[0] invoicing_rule = invoicing_rule_list[0]
sequence.edit(invoicing_rule = invoicing_rule) sequence.edit(invoicing_rule = invoicing_rule)
for invoicing_rule in invoicing_rule_list: for invoicing_rule in invoicing_rule_list:
self.assertEquals(invoicing_rule.getSpecialiseId(), self.assertEquals(invoicing_rule.getSpecialiseReference(),
'default_invoicing_rule') 'default_invoicing_rule')
self.assertEquals(invoicing_rule.getPortalType(), self.assertEquals(invoicing_rule.getPortalType(),
'Applied Rule') 'Applied Rule')
......
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