diff --git a/erpnext/buying/doctype/purchase_order/test_purchase_order.py b/erpnext/buying/doctype/purchase_order/test_purchase_order.py index 5e5656c37c3..63d50989111 100644 --- a/erpnext/buying/doctype/purchase_order/test_purchase_order.py +++ b/erpnext/buying/doctype/purchase_order/test_purchase_order.py @@ -1308,4 +1308,4 @@ def get_requested_qty(item_code="_Test Item", warehouse="_Test Warehouse - _TC") return flt(frappe.db.get_value("Bin", {"item_code": item_code, "warehouse": warehouse}, "indented_qty")) -EXTRA_TEST_RECORD_DEPENDENCIES = ["BOM", "Item Price"] +EXTRA_TEST_RECORD_DEPENDENCIES = ["BOM", "Item Price", "Warehouse"] diff --git a/erpnext/manufacturing/doctype/workstation/test_workstation.py b/erpnext/manufacturing/doctype/workstation/test_workstation.py index e1cc47f360b..dbd867b62bc 100644 --- a/erpnext/manufacturing/doctype/workstation/test_workstation.py +++ b/erpnext/manufacturing/doctype/workstation/test_workstation.py @@ -14,8 +14,6 @@ from erpnext.manufacturing.doctype.workstation.workstation import ( EXTRA_TEST_RECORD_DEPENDENCIES = ["Warehouse"] -make_test_records("Workstation") - class UnitTestWorkstation(UnitTestCase): """