From baf651bd70b3af6d3e13c8adfb0bdca9ffb4587c Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 28 Jan 2021 11:44:35 +0100 Subject: [PATCH] [FIX] contract, test incorrect number of message partners --- contract/tests/test_contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract/tests/test_contract.py b/contract/tests/test_contract.py index 3b31db294..905883fb4 100644 --- a/contract/tests/test_contract.py +++ b/contract/tests/test_contract.py @@ -260,7 +260,7 @@ class TestContract(TestContractBase): self.contract.recurring_create_invoice() invoice_daily = self.contract._get_related_invoices() self.assertTrue(invoice_daily) - self.assertEqual(len(invoice_daily.message_partner_ids.ids), 1) + self.assertEqual(len(invoice_daily.message_partner_ids.ids), 2) def test_contract_weekly_post_paid(self): recurring_next_date = to_date('2018-03-01')