fixed test earning type
diff --git a/erpnext/hr/doctype/salary_structure/test_records.json b/erpnext/hr/doctype/salary_structure/test_records.json
index f33b65e..3af83f1 100644
--- a/erpnext/hr/doctype/salary_structure/test_records.json
+++ b/erpnext/hr/doctype/salary_structure/test_records.json
@@ -3,6 +3,14 @@
 		"doctype": "Salary Structure",
 		"name": "_Test Salary Structure 1",
 		"employee": "_T-Employee-0001",
-		"from_date": "2014-02-01"
+		"from_date": "2014-02-01",
+		"earnings": [
+			{
+				"e_type": "_Test Basic Salary"
+			},
+			{
+				"e_type": "_Test Allowance"
+			}
+		]
 	}
 ]