Skip to content

Commit

Permalink
fix(test): set company for employee in leave allocation test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal committed Apr 4, 2022
1 parent 5499cec commit 793164a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def setUp(self):
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):
Expand Down

0 comments on commit 793164a

Please sign in to comment.