diff --git a/account_invoice_export/tests/test_export_invoice.py b/account_invoice_export/tests/test_export_invoice.py index b11e6e7fec..f2b63e62f0 100644 --- a/account_invoice_export/tests/test_export_invoice.py +++ b/account_invoice_export/tests/test_export_invoice.py @@ -30,3 +30,11 @@ def test_log_error_in_chatter(self): def test_get_file_description(self): res = self.invoice_1._get_file_for_transmission_method() self.assertTrue(res["file"]) + + def test_get_url(self): + url = self.transmit_method.get_transmission_url() + self.assertEqual(url, "https://example.com/post") + + def test_get_header(self): + header = self.transmit_method.get_transmission_http_header() + self.assertTrue("Authorization" in header.keys())