Skip to content

Commit

Permalink
Merge PR #433 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by sbejaoui
  • Loading branch information
OCA-git-bot committed Dec 3, 2019
2 parents 8ffdac1 + 8392d61 commit cd1d7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contract/tests/test_contract.py
Expand Up @@ -631,7 +631,7 @@ def test_date_end(self):
self.acct_line.write({'date_end': False, 'is_auto_renew': False})
self.assertFalse(self.contract.date_end)

def test_stop_contract_line(self):
def test_cancel_contract_line(self):
"""It should raise a validation error"""
self.acct_line.cancel()
with self.assertRaises(ValidationError):
Expand Down Expand Up @@ -1808,7 +1808,7 @@ def test_contract_count_invoice(self):
self.contract._compute_invoice_count()
self.assertEqual(self.contract.invoice_count, 3)

def test_contract_count_invoice(self):
def test_contract_count_invoice_2(self):
invoices = self.env['account.invoice']
invoices |= self.contract.recurring_create_invoice()
invoices |= self.contract.recurring_create_invoice()
Expand Down

0 comments on commit cd1d7a4

Please sign in to comment.