Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaniszewska-dev committed Oct 3, 2023
1 parent 4a7f01b commit ed48144
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pingen/tests/test_pingen.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,7 @@ def get_request_json(self, uuid):
def test_pingen_push_document(self):

self.company._get_pingen_client()

attachment = self.env["ir.attachment"].search(
[("res_model", "=", "account.move")]
)[0]
attachment = self.env["ir.attachment"].search([])[0]
attachment.write({"send_to_pingen": True})
pingen_document = attachment.pingen_document_ids[0]
pingen_document.push_to_pingen()
Expand Down

0 comments on commit ed48144

Please sign in to comment.