From 389b53ceff499dc3d186df5886b9495b5e893356 Mon Sep 17 00:00:00 2001 From: vicent Date: Thu, 22 Jun 2023 13:37:43 +0200 Subject: [PATCH] refs #5772 fix: back test --- .../back/methods/invoiceOut/specs/invoiceClient.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/invoiceOut/back/methods/invoiceOut/specs/invoiceClient.spec.js b/modules/invoiceOut/back/methods/invoiceOut/specs/invoiceClient.spec.js index e26a0b3f1..0faa8fe1a 100644 --- a/modules/invoiceOut/back/methods/invoiceOut/specs/invoiceClient.spec.js +++ b/modules/invoiceOut/back/methods/invoiceOut/specs/invoiceClient.spec.js @@ -18,7 +18,9 @@ describe('InvoiceOut invoiceClient()', () => { accessToken: {userId: userId}, __: value => { return value; - } + }, + headers: {origin: 'http://localhost'} + }; const ctx = {req: activeCtx};