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,
|
recipientId: invoiceOut.clientFk,
|
||||||
recipient: invoiceOut.client().email
|
recipient: invoiceOut.client().email
|
||||||
};
|
};
|
||||||
|
try {
|
||||||
await models.InvoiceOut.invoiceEmail(ctx);
|
await models.InvoiceOut.invoiceEmail(ctx);
|
||||||
|
} catch (err) {}
|
||||||
|
|
||||||
return invoiceId;
|
return invoiceId;
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,6 +12,9 @@ describe('InvoiceOut invoiceClient()', () => {
|
||||||
minShipped.setHours(0, 0, 0, 0);
|
minShipped.setHours(0, 0, 0, 0);
|
||||||
const invoiceSerial = 'A';
|
const invoiceSerial = 'A';
|
||||||
const activeCtx = {
|
const activeCtx = {
|
||||||
|
getLocale: () => {
|
||||||
|
return 'en';
|
||||||
|
},
|
||||||
accessToken: {userId: userId},
|
accessToken: {userId: userId},
|
||||||
__: value => {
|
__: value => {
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Reference in New Issue