Skip to content

Commit

Permalink
[IMP] shopinvader_api_address: test vat format
Browse files Browse the repository at this point in the history
Make VAT used in tests pass VAT format check
  • Loading branch information
qgroulard committed Sep 19, 2023
1 parent e153c96 commit 137704f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shopinvader_api_address/tests/test_shopinvader_address_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def test_update_billing_address_vat(self):
"city": "Waterloo",
"country_id": self.env.ref("base.be").id,
"street": "rue test",
"vat": "test_vat",
"vat": "BE0477472701",
}

with self._create_test_client(router=address_router) as test_client:
Expand All @@ -234,7 +234,7 @@ def test_update_billing_address_vat(self):

address = response_json

self.assertEqual(address.get("vat"), "test_vat")
self.assertEqual(address.get("vat"), "BE0477472701")
self.assertEqual(address.get("vat"), self.test_partner.vat)

def test_create_shipping_address(self):
Expand Down

0 comments on commit 137704f

Please sign in to comment.