fix: backTest
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
574f2757f4
commit
1ea5ffa6d3
|
@ -137,7 +137,9 @@ module.exports = Self => {
|
|||
recipientId: invoiceOut.clientFk,
|
||||
recipient: invoiceOut.client().email
|
||||
};
|
||||
await models.InvoiceOut.invoiceEmail(ctx);
|
||||
try {
|
||||
await models.InvoiceOut.invoiceEmail(ctx);
|
||||
} catch (err) {}
|
||||
|
||||
return invoiceId;
|
||||
};
|
||||
|
|
|
@ -12,6 +12,9 @@ describe('InvoiceOut invoiceClient()', () => {
|
|||
minShipped.setHours(0, 0, 0, 0);
|
||||
const invoiceSerial = 'A';
|
||||
const activeCtx = {
|
||||
getLocale: () => {
|
||||
return 'en';
|
||||
},
|
||||
accessToken: {userId: userId},
|
||||
__: value => {
|
||||
return value;
|
||||
|
|
Loading…
Reference in New Issue