Skip to content

Commit

Permalink
[REF] l10n_br_cnpj_search: cnpj_cpf -> vat
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Dec 31, 2024
1 parent 691c9f8 commit fb08da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_br_cnpj_search/tests/test_serpro.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_serpro_empresa(self):
"odoo.addons.l10n_br_cnpj_search.models.cnpj_webservice.CNPJWebservice.validate",
return_value=self.mocked_response_serpro_2,
):
self.model.search([("cnpj_cpf", "=", "34.238.864/0002-49")]).write(
self.model.search([("vat", "=", "34.238.864/0002-49")]).write(
{"active": False}
)
self.set_param("serpro_schema", "empresa")
Expand Down Expand Up @@ -151,7 +151,7 @@ def test_serpro_qsa(self):
"odoo.addons.l10n_br_cnpj_search.models.cnpj_webservice.CNPJWebservice.validate",
return_value=self.mocked_response_serpro_3,
):
self.model.search([("cnpj_cpf", "=", "34.238.864/0001-68")]).write(
self.model.search([("vat", "=", "34.238.864/0001-68")]).write(
{"active": False}
)
self.set_param("serpro_schema", "qsa")
Expand Down

0 comments on commit fb08da7

Please sign in to comment.