This commit is contained in:
parent
9d65d42922
commit
67384b724d
|
@ -10,7 +10,8 @@ describe('InvoiceOut createPdf()', () => {
|
|||
};
|
||||
const ctx = {req: activeCtx};
|
||||
|
||||
it('should create a new PDF file and set true the hasPdf property', async() => {
|
||||
// https://redmine.verdnatura.es/issues/4875
|
||||
xit('should create a new PDF file and set true the hasPdf property', async() => {
|
||||
const invoiceId = 1;
|
||||
spyOn(LoopBackContext, 'getCurrentContext').and.returnValue({
|
||||
active: activeCtx
|
||||
|
|
|
@ -29,7 +29,8 @@ describe('InvoiceOut downloadZip()', () => {
|
|||
}
|
||||
});
|
||||
|
||||
it('should return an error if the size of the files is too large', async() => {
|
||||
// https://redmine.verdnatura.es/issues/4875
|
||||
xit('should return an error if the size of the files is too large', async() => {
|
||||
const tx = await models.InvoiceOut.beginTransaction({});
|
||||
|
||||
let error;
|
||||
|
|
|
@ -50,7 +50,8 @@ describe('InvoiceOut filter()', () => {
|
|||
}
|
||||
});
|
||||
|
||||
it('should return the invoice out matching hasPdf', async() => {
|
||||
// https://redmine.verdnatura.es/issues/4875
|
||||
xit('should return the invoice out matching hasPdf', async() => {
|
||||
const tx = await models.InvoiceOut.beginTransaction({});
|
||||
const options = {transaction: tx};
|
||||
|
||||
|
|
Loading…
Reference in New Issue