diff --git a/erpnext/hr/doctype/employee_checkin/test_employee_checkin.py b/erpnext/hr/doctype/employee_checkin/test_employee_checkin.py index 30f469989a..ed7877f928 100644 --- a/erpnext/hr/doctype/employee_checkin/test_employee_checkin.py +++ b/erpnext/hr/doctype/employee_checkin/test_employee_checkin.py @@ -212,7 +212,7 @@ class TestEmployeeCheckin(FrappeTestCase): date = getdate() from_date = get_year_start(date) to_date = get_year_ending(date) - holiday_list = make_holiday_list() + holiday_list = make_holiday_list(from_date=from_date, to_date=to_date) employee = make_employee("test_shift_with_holiday@example.com", company="_Test Company") setup_shift_type(shift_type="Test Holiday Shift", holiday_list=holiday_list) diff --git a/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py b/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py index fe4f01a909..0c2e2cc597 100644 --- a/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py +++ b/erpnext/hr/report/monthly_attendance_sheet/test_monthly_attendance_sheet.py @@ -24,7 +24,7 @@ class TestMonthlyAttendanceSheet(FrappeTestCase): date = getdate() from_date = get_year_start(date) to_date = get_year_ending(date) - make_holiday_list(start_date=from_date, to_date=to_date) + make_holiday_list(from_date=from_date, to_date=to_date) @set_holiday_list("Salary Slip Test Holiday List", "_Test Company") def test_monthly_attendance_sheet_report(self):