From 6d51ef4187816843e45b15a051cfe2371af6934b Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Mon, 1 Apr 2019 08:56:18 +0200 Subject: [PATCH] fixed absence test --- .../worker/back/methods/worker-calendar/specs/absences.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/worker/back/methods/worker-calendar/specs/absences.spec.js b/modules/worker/back/methods/worker-calendar/specs/absences.spec.js index 21d710a11..3b286092e 100644 --- a/modules/worker/back/methods/worker-calendar/specs/absences.spec.js +++ b/modules/worker/back/methods/worker-calendar/specs/absences.spec.js @@ -20,7 +20,7 @@ describe('Worker absences()', () => { let calendar = result[0]; let absences = result[1]; - expect(calendar.totalHolidays).toEqual(15); + expect(calendar.totalHolidays).toEqual(14); expect(calendar.holidaysEnjoyed).toEqual(5); let firstType = absences[0].absenceType().name;