mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
fix(test): set company for employee in leave allocation test setup
(cherry picked from commit 793164ac2e)
This commit is contained in:
committed by
mergify-bot
parent
e41f35aa82
commit
cb2a8aab31
@@ -19,7 +19,7 @@ class TestLeaveAllocation(FrappeTestCase):
|
|||||||
frappe.db.delete("Leave Period")
|
frappe.db.delete("Leave Period")
|
||||||
frappe.db.delete("Leave Allocation")
|
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)
|
self.employee = frappe.get_doc("Employee", emp_id)
|
||||||
|
|
||||||
def test_overlapping_allocation(self):
|
def test_overlapping_allocation(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user