Use 'province' as type for the subdivision created in the tests.

Only some subdivision types are now valid for each country.
This commit is contained in:
Albert Cervera i Areny 2020-05-03 00:13:02 +02:00
parent b9d6ce2c26
commit c0db46def3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class AccountInvoiceFacturaeElectronetTestCase(ModuleTestCase):
country = Country(name='Country', code='ES', code3='ESP')
country.save()
subdivision = Subdivision(
name='Subdivision', country=country, code='SUB', type='area')
name='Subdivision', country=country, code='SUB', type='province')
subdivision.save()
company = create_company()