diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index 4823a27eaf8..37fabf4040c 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py @@ -736,11 +736,6 @@ class TestStockEntry(FrappeTestCase): batch_qty = get_batch_qty(batch_no, "_Test Warehouse - _TC", item.item_code) self.assertEqual(batch_qty, 2) - frappe.db.commit() - - # Cancelling Origin Document of Batch - self.assertRaises(frappe.LinkExistsError, se1.cancel) - frappe.db.rollback() se2.cancel()