diff --git a/l10n_br_ie_search/tests/test_sefaz.py b/l10n_br_ie_search/tests/test_sefaz.py index 05383d042cfd..c963d55538a8 100644 --- a/l10n_br_ie_search/tests/test_sefaz.py +++ b/l10n_br_ie_search/tests/test_sefaz.py @@ -152,7 +152,7 @@ def test_sefaz(self): "certificate_ecnpj_id": self.cert.id, } ) - dummy._onchange_cnpj_cpf() + dummy._onchange_vat() action_wizard = dummy.action_open_cnpj_search_wizard() wizard_context = action_wizard.get("context") wizard = Form( diff --git a/l10n_br_ie_search/tests/test_sintegra.py b/l10n_br_ie_search/tests/test_sintegra.py index 73d6cd55417a..27e901576436 100644 --- a/l10n_br_ie_search/tests/test_sintegra.py +++ b/l10n_br_ie_search/tests/test_sintegra.py @@ -80,7 +80,7 @@ def set_param(self, param_name, param_value): def test_sintegra(self, mock_get_partner_ie): mock_get_partner_ie.return_value = self.retorno dummy = self.model.create({"name": "Dummy", "cnpj_cpf": "06990590000123"}) - dummy._onchange_cnpj_cpf() + dummy._onchange_vat() action_wizard = dummy.action_open_cnpj_search_wizard() wizard_context = action_wizard.get("context") wizard = Form(