mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
Fix share transfer test
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user