fix: tests
This commit is contained in:
parent
97547da7ee
commit
e4cc0c1c87
@ -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)
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user