fix(tests): Save batch instead of submitting it (#17637)

This commit is contained in:
Rohan 2019-05-16 19:44:55 +05:30 committed by Nabin Hait
parent 8ec3718aba
commit a094560b8b

View File

@ -182,7 +182,7 @@ class TestBatch(unittest.TestCase):
item = item_name,
batch_id = batch_name
)).insert(ignore_permissions=True)
batch.submit()
batch.save()
stock_entry = frappe.get_doc(dict(
doctype = 'Stock Entry',