From 29979d536765183157a6f92d7f469d5e6116b61c Mon Sep 17 00:00:00 2001 From: joan Date: Mon, 22 Mar 2021 09:10:12 +0100 Subject: [PATCH] Rollback --- .../back/methods/ticket-tracking/specs/setDelivered.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ticket/back/methods/ticket-tracking/specs/setDelivered.spec.js b/modules/ticket/back/methods/ticket-tracking/specs/setDelivered.spec.js index 694cbf8c6..042ae0a1f 100644 --- a/modules/ticket/back/methods/ticket-tracking/specs/setDelivered.spec.js +++ b/modules/ticket/back/methods/ticket-tracking/specs/setDelivered.spec.js @@ -18,8 +18,8 @@ describe('ticket setDelivered()', () => { let originalTicketOne = await app.models.Ticket.findById(8); let originalTicketTwo = await app.models.Ticket.findById(10); - originalTicketOne.id = undefined; - originalTicketTwo.id = undefined; + originalTicketOne.id = null; + originalTicketTwo.id = null; ticketOne = await app.models.Ticket.create(originalTicketOne); ticketTwo = await app.models.Ticket.create(originalTicketTwo);