test: fix flaky carry forwarded leave expiry test (#30810)
This commit is contained in:
parent
078f26bef3
commit
1cc8c79807
@ -18,6 +18,7 @@ class TestLeaveAllocation(FrappeTestCase):
|
||||
def setUp(self):
|
||||
frappe.db.delete("Leave Period")
|
||||
frappe.db.delete("Leave Allocation")
|
||||
frappe.db.delete("Leave Ledger Entry")
|
||||
|
||||
emp_id = make_employee("test_emp_leave_allocation@salary.com", company="_Test Company")
|
||||
self.employee = frappe.get_doc("Employee", emp_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user