diff --git a/erpnext/accounts/doctype/cost_center/test_records.json b/erpnext/accounts/doctype/cost_center/test_records.json index 9e3e011fe2f..7ffc687a9c9 100644 --- a/erpnext/accounts/doctype/cost_center/test_records.json +++ b/erpnext/accounts/doctype/cost_center/test_records.json @@ -15,5 +15,12 @@ "doctype": "Cost Center", "group_or_ledger": "Ledger", "parent_cost_center": "_Test Company - _TC" + }, + { + "company": "_Test Company", + "cost_center_name": "_Test Cost Center 2", + "doctype": "Cost Center", + "group_or_ledger": "Ledger", + "parent_cost_center": "_Test Company - _TC" } ] \ No newline at end of file diff --git a/erpnext/setup/doctype/item_group/test_records.json b/erpnext/setup/doctype/item_group/test_records.json index d85fa2266bd..60336f0c087 100644 --- a/erpnext/setup/doctype/item_group/test_records.json +++ b/erpnext/setup/doctype/item_group/test_records.json @@ -3,7 +3,8 @@ "doctype": "Item Group", "is_group": "No", "item_group_name": "_Test Item Group", - "parent_item_group": "All Item Groups" + "parent_item_group": "All Item Groups", + "default_cost_center": "_Test Cost Center 2 - _TC" }, { "doctype": "Item Group", diff --git a/erpnext/stock/doctype/item/test_item.py b/erpnext/stock/doctype/item/test_item.py index 7ab93ebf4c0..56150cabace 100644 --- a/erpnext/stock/doctype/item/test_item.py +++ b/erpnext/stock/doctype/item/test_item.py @@ -27,7 +27,7 @@ class TestItem(unittest.TestCase): "warehouse": "_Test Warehouse - _TC", "income_account": "Sales - _TC", "expense_account": "_Test Account Cost for Goods Sold - _TC", - "cost_center": "_Test Cost Center - _TC", + "cost_center": "_Test Cost Center 2 - _TC", "qty": 1.0, "price_list_rate": 100.0, "base_price_list_rate": 0.0, diff --git a/erpnext/stock/doctype/item/test_records.json b/erpnext/stock/doctype/item/test_records.json index 761d4f2707c..a2561495715 100644 --- a/erpnext/stock/doctype/item/test_records.json +++ b/erpnext/stock/doctype/item/test_records.json @@ -28,7 +28,6 @@ "warehouse_reorder_qty": 20 } ], - "selling_cost_center": "_Test Cost Center - _TC", "stock_uom": "_Test UOM", "show_in_website": 1, "website_warehouse": "_Test Warehouse - _TC"