From 20a653e829687959db7fe919764b26240c727b5a Mon Sep 17 00:00:00 2001 From: Saurabh Date: Thu, 29 Oct 2015 14:27:37 +0530 Subject: [PATCH] [fixes] Test case fixes for leave application --- .../leave_allocation/test_records.json | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/erpnext/hr/doctype/leave_allocation/test_records.json b/erpnext/hr/doctype/leave_allocation/test_records.json index 0637a088a01..106ed0e615d 100644 --- a/erpnext/hr/doctype/leave_allocation/test_records.json +++ b/erpnext/hr/doctype/leave_allocation/test_records.json @@ -1 +1,20 @@ -[] \ No newline at end of file +[ + { + "docstatus": 1, + "doctype": "Leave Allocation", + "employee": "_T-Employee-0001", + "from_date": "2013-01-01", + "to_date": "2013-12-31", + "leave_type": "_Test Leave Type", + "new_leaves_allocated": 15 + }, + { + "docstatus": 1, + "doctype": "Leave Allocation", + "employee": "_T-Employee-0002", + "from_date": "2013-01-01", + "to_date": "2013-12-31", + "leave_type": "_Test Leave Type", + "new_leaves_allocated": 15 + } +] \ No newline at end of file