Fix share transfer test

This commit is contained in:
Shreya 2018-06-06 01:33:05 +05:30
parent 8f692f9a27
commit 9c801b976d
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ class TestShareTransfer(unittest.TestCase):
}
]
for d in share_transfers:
frappe.get_doc(d).insert()
frappe.get_doc(d).submit()
def test_invalid_share_transfer(self):
doc = frappe.get_doc({

View File

@ -37,7 +37,7 @@ class TestBatch(unittest.TestCase):
item_code='ITEM-BATCH-1',
qty=batch_qty,
rate=10,
warehouse= 'Stores - W'
warehouse= 'Stores - WP'
)
]
)).insert()