Skip to content

Commit

Permalink
fixup! [IMP] account_invoce_export: Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vvrossem committed Jan 16, 2025
1 parent 7012d7b commit 4c914d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_invoice_export/tests/test_export_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def test_get_file_description(self):
self.assertTrue(res["file"])

def test_get_url(self):
url = self.transmit_method.get_transmission_url()
url = self.invoice_1.transmit_method_id.get_transmission_url()
self.assertEqual(url, "https://example.com/post")

def test_get_header(self):
header = self.transmit_method.get_transmission_http_header()
header = self.invoice_1.transmit_method_id.get_transmission_http_header()
self.assertTrue("Authorization" in header.keys())

0 comments on commit 4c914d1

Please sign in to comment.