diff --git a/modules/ticket/back/methods/ticket/specs/getTicketProblems.spec.js b/modules/ticket/back/methods/ticket/specs/getTicketProblems.spec.js deleted file mode 100644 index 56c3edc1b..000000000 --- a/modules/ticket/back/methods/ticket/specs/getTicketProblems.spec.js +++ /dev/null @@ -1,21 +0,0 @@ -const models = require('vn-loopback/server/server').models; - -fdescribe('ticket getTicketProblems()', () => { - const ctx = {req: {accessToken: 9}}; - it('should return the problems of a ticket', async() => { - const tx = await models.Ticket.beginTransaction({}); - - try { - const options = {transaction: tx}; - - const problems = await models.Ticket.getTicketProblems(ctx, 11, options); - - expect(problems[7].totalProblems).toEqual(3); - - await tx.rollback(); - } catch (e) { - await tx.rollback(); - throw e; - } - }); -});