From 2a1204a00aea872ac5e441b5d80e33264979e1a4 Mon Sep 17 00:00:00 2001 From: sergiodt Date: Mon, 25 Mar 2024 13:27:52 +0100 Subject: [PATCH] refs #6276 hotFix: setUserError and return --- back/methods/machine-worker/specs/updateInTime.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/methods/machine-worker/specs/updateInTime.spec.js b/back/methods/machine-worker/specs/updateInTime.spec.js index ecb30b90b..f166214b0 100644 --- a/back/methods/machine-worker/specs/updateInTime.spec.js +++ b/back/methods/machine-worker/specs/updateInTime.spec.js @@ -122,7 +122,7 @@ describe('machineWorker updateInTime()', () => { expect(isNotParked.outTime).toBeNull(); expect(isParked.outTime).toBeDefined(); - expect(totalAfter.length).toEqual(totalBefore.length); + expect(totalAfter.length).toEqual(totalBefore.length + 1); await tx.rollback(); } catch (e) { await tx.rollback();