mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
test: fix flaky carry forwarded leave expiry test (#30810)
This commit is contained in:
@@ -18,6 +18,7 @@ class TestLeaveAllocation(FrappeTestCase):
|
|||||||
def setUp(self):
|
def setUp(self):
|
||||||
frappe.db.delete("Leave Period")
|
frappe.db.delete("Leave Period")
|
||||||
frappe.db.delete("Leave Allocation")
|
frappe.db.delete("Leave Allocation")
|
||||||
|
frappe.db.delete("Leave Ledger Entry")
|
||||||
|
|
||||||
emp_id = make_employee("test_emp_leave_allocation@salary.com", company="_Test Company")
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user