test: commit item/warehouse creation to db

This commit is contained in:
Ankush Menat 2022-02-06 15:18:00 +05:30 committed by Ankush Menat
parent 43f8ee1dd1
commit f82d7eb73f

View File

@ -25,8 +25,8 @@ from erpnext.tests.utils import ERPNextTestCase, change_settings
class TestStockReconciliation(ERPNextTestCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
create_batch_or_serial_no_items()
super().setUpClass()
frappe.db.set_value("Stock Settings", None, "allow_negative_stock", 1)
def tearDown(self):