Skip to content

Commit

Permalink
fix: Remove commit from stock entry test. The assertion is not important
Browse files Browse the repository at this point in the history
  • Loading branch information
marination committed May 4, 2022
1 parent d53228b commit c449b35
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions erpnext/stock/doctype/stock_entry/test_stock_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,11 +736,6 @@ def test_serial_batch_item_qty_deduction(self):

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()

Expand Down

0 comments on commit c449b35

Please sign in to comment.