Fix share transfer test
This commit is contained in:
parent
8f692f9a27
commit
9c801b976d
@ -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({
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user