fix: tests

This commit is contained in:
Rucha Mahabal 2022-03-31 00:21:23 +05:30
parent 97547da7ee
commit e4cc0c1c87
2 changed files with 2 additions and 2 deletions

View File

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

View File

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