diff --git a/product/ERP5/tests/testInvoice.py b/product/ERP5/tests/testInvoice.py
index 9fc389ca0a9f2f6ec2290080292a9b9263ab9d21..d246a2d0c01f0101f65641a035aa808ceb2e35bd 100644
--- a/product/ERP5/tests/testInvoice.py
+++ b/product/ERP5/tests/testInvoice.py
@@ -258,7 +258,7 @@ class TestInvoiceMixin(TestPackingListMixin,
     invoicing_rule = invoicing_rule_list[0]
     sequence.edit(invoicing_rule = invoicing_rule)
     for invoicing_rule in invoicing_rule_list:
-      self.assertEquals(invoicing_rule.getSpecialiseId(),
+      self.assertEquals(invoicing_rule.getSpecialiseReference(),
           'default_invoicing_rule')
       self.assertEquals(invoicing_rule.getPortalType(),
           'Applied Rule')