This commit is contained in:
parent
850df64348
commit
1357b60b9b
|
@ -1967,6 +1967,9 @@ INSERT INTO `vn`.`calendarType` (`id`, `description`, `hoursWeek`, `isPartial`)
|
|||
VALUES
|
||||
(1, 'General schedule', 40, 0);
|
||||
|
||||
INSERT INTO `vn`.`workerBusinessAgreement` (`id`, `name`, `monthHolidays`, `yearHours`, `started`, `ended`)
|
||||
VALUES(1, 'flowers', 2.5, 1830, '2001-01-01', NULL);
|
||||
|
||||
DROP TEMPORARY TABLE IF EXISTS tmp.worker;
|
||||
CREATE TEMPORARY TABLE tmp.worker
|
||||
(PRIMARY KEY (id))
|
||||
|
|
|
@ -50,7 +50,7 @@ describe('Worker absences()', () => {
|
|||
}
|
||||
});
|
||||
|
||||
it('should give the same holidays as worked days since the holidays amount matches the amount of days in a year', async() => {
|
||||
it('should holidays should equal worked days as both are the same number of days in a year', async() => {
|
||||
const businessId = 1106;
|
||||
const workerId = 1106;
|
||||
|
||||
|
|
Loading…
Reference in New Issue