FIX error message test

This commit is contained in:
raimonesteve 2020-03-21 17:56:19 +01:00
parent ca1559b729
commit 4bd609baac
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class AccountInvoiceConsecutiveTestCase(ModuleTestCase):
yesterday = second_period.start_date + relativedelta(days=1)
create_invoice(today)
# Invoices can be created in the past
error_msg = 'There are 1 invoices after this date'
error_msg = 'an accounting date after'
for date in [yesterday, first_period.end_date,
first_period.start_date]:
with self.assertRaises(UserError) as cm: