diff --git a/accounts/doctype/fiscal_year/fiscal_year.py b/accounts/doctype/fiscal_year/fiscal_year.py index 34134777dbb..95c1aa42e62 100644 --- a/accounts/doctype/fiscal_year/fiscal_year.py +++ b/accounts/doctype/fiscal_year/fiscal_year.py @@ -35,7 +35,12 @@ class DocType: test_records = [ [{ "doctype": "Fiscal Year", - "year": "_Test Fiscal Year", + "year": "_Test Fiscal Year 2013", "year_start_date": "2013-01-01" + }], + [{ + "doctype": "Fiscal Year", + "year": "_Test Fiscal Year 2014", + "year_start_date": "2014-01-01" }] ] \ No newline at end of file diff --git a/hr/doctype/holiday_block_list/holiday_block_list.py b/hr/doctype/holiday_block_list/holiday_block_list.py index 87ab7052f1d..a016ab8f6bd 100644 --- a/hr/doctype/holiday_block_list/holiday_block_list.py +++ b/hr/doctype/holiday_block_list/holiday_block_list.py @@ -23,7 +23,7 @@ class DocType: test_records = [[{ "doctype":"Holiday Block List", "holiday_block_list_name": "_Test Holiday Block List", - "year": "_Test Fiscal Year", + "year": "_Test Fiscal Year 2013", "company": "_Test Company" }, { "doctype": "Holiday Block List Date", diff --git a/hr/doctype/holiday_list/holiday_list.py b/hr/doctype/holiday_list/holiday_list.py index 00ea0bad891..4c929cd8e48 100644 --- a/hr/doctype/holiday_list/holiday_list.py +++ b/hr/doctype/holiday_list/holiday_list.py @@ -93,7 +93,7 @@ class DocType: test_records = [[{ "doctype": "Holiday List", "holiday_list_name": "_Test Holiday List", - "fiscal_year": "_Test Fiscal Year" + "fiscal_year": "_Test Fiscal Year 2013" }, { "doctype": "Holiday", "parent": "_Test Holiday List", diff --git a/hr/doctype/leave_application/test_leave_application.py b/hr/doctype/leave_application/test_leave_application.py index 22164a7f79c..74f73c28251 100644 --- a/hr/doctype/leave_application/test_leave_application.py +++ b/hr/doctype/leave_application/test_leave_application.py @@ -39,7 +39,7 @@ test_records = [ [{ "doctype": "Leave Allocation", "leave_type": "_Test Leave Type", - "fiscal_year": "_Test Fiscal Year", + "fiscal_year": "_Test Fiscal Year 2013", "employee":"_T-Employee-0001", "new_leaves_allocated": 15, "docstatus": 1 @@ -50,7 +50,7 @@ test_records = [ "from_date": "2013-05-01", "to_date": "2013-05-05", "posting_date": "2013-01-02", - "fiscal_year": "_Test Fiscal Year", + "fiscal_year": "_Test Fiscal Year 2013", "employee": "_T-Employee-0001", "company": "_Test Company" }]]