fix(test): set company for employee in leave allocation test setup

This commit is contained in:
Rucha Mahabal 2022-04-04 19:08:27 +05:30
parent 5499cecffd
commit 793164ac2e

View File

@ -19,7 +19,7 @@ class TestLeaveAllocation(FrappeTestCase):
frappe.db.delete("Leave Period")
frappe.db.delete("Leave Allocation")
emp_id = make_employee("test_emp_leave_allocation@salary.com")
emp_id = make_employee("test_emp_leave_allocation@salary.com", company="_Test Company")
self.employee = frappe.get_doc("Employee", emp_id)
def test_overlapping_allocation(self):