mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
Test Cases Fixed
This commit is contained in:
@@ -58,7 +58,7 @@ class TestMaterialRequest(unittest.TestCase):
|
|||||||
self.assertEquals(se.doctype, "Stock Entry")
|
self.assertEquals(se.doctype, "Stock Entry")
|
||||||
self.assertEquals(len(se.get("mtn_details")), len(mr.get("indent_details")))
|
self.assertEquals(len(se.get("mtn_details")), len(mr.get("indent_details")))
|
||||||
|
|
||||||
def _insert_stock_entry(self, qty1, qty2):
|
def _insert_stock_entry(self, qty1, qty2, warehouse = None ):
|
||||||
se = frappe.get_doc({
|
se = frappe.get_doc({
|
||||||
"company": "_Test Company",
|
"company": "_Test Company",
|
||||||
"doctype": "Stock Entry",
|
"doctype": "Stock Entry",
|
||||||
|
|||||||
Reference in New Issue
Block a user