fix: Remove commit from stock entry test. The assertion is not important

(cherry picked from commit c449b35cc1)
This commit is contained in:
marination
2022-05-04 13:00:00 +05:30
committed by Mergify
parent 64f3b4d68b
commit 9fd673e498

View File

@@ -735,11 +735,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()