From 4cc94df7523a39d92e4e727e5ba3ae0544ae88ac Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 7 Aug 2014 18:16:34 +0530 Subject: [PATCH] [tests] Fixed Test Records --- erpnext/hr/doctype/attendance/test_records.json | 7 ++++++- erpnext/hr/doctype/salary_structure/test_records.json | 4 +++- erpnext/utilities/doctype/note/test_records.json | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/erpnext/hr/doctype/attendance/test_records.json b/erpnext/hr/doctype/attendance/test_records.json index ccb77bfdc3..41b40ffe9a 100644 --- a/erpnext/hr/doctype/attendance/test_records.json +++ b/erpnext/hr/doctype/attendance/test_records.json @@ -1,6 +1,11 @@ [ { "doctype": "Attendance", - "name": "_Test Attendance 1" + "name": "_Test Attendance 1", + "employee": "_T-Employee-0001", + "status": "Present", + "att_date": "2014-02-01", + "fiscal_year": "_Test Fiscal Year 2014", + "company": "_Test Company" } ] diff --git a/erpnext/hr/doctype/salary_structure/test_records.json b/erpnext/hr/doctype/salary_structure/test_records.json index 28d37c2a32..f33b65e554 100644 --- a/erpnext/hr/doctype/salary_structure/test_records.json +++ b/erpnext/hr/doctype/salary_structure/test_records.json @@ -1,6 +1,8 @@ [ { "doctype": "Salary Structure", - "name": "_Test Salary Structure 1" + "name": "_Test Salary Structure 1", + "employee": "_T-Employee-0001", + "from_date": "2014-02-01" } ] diff --git a/erpnext/utilities/doctype/note/test_records.json b/erpnext/utilities/doctype/note/test_records.json index 9dc992c080..f3d7cff22b 100644 --- a/erpnext/utilities/doctype/note/test_records.json +++ b/erpnext/utilities/doctype/note/test_records.json @@ -1,6 +1,7 @@ [ { "doctype": "Note", - "name": "_Test Note 1" + "name": "_Test Note 1", + "title": "Test Note Title" } ]