refs #6159 fixFixtures
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pablo Natek 2023-09-22 09:14:08 +02:00
parent 850df64348
commit 1357b60b9b
2 changed files with 4 additions and 1 deletions

View File

@ -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))

View File

@ -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;