mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 21:52:21 +01:00
refactor(test): make serial and batch bundle deterministic
This commit is contained in:
@@ -40,6 +40,7 @@ class TestSerialandBatchBundle(ERPNextTestSuite):
|
||||
"doctype": "Serial No",
|
||||
"serial_no": sn,
|
||||
"item_code": serial_item_code,
|
||||
"company": self.companies[0].name,
|
||||
}
|
||||
).insert(ignore_permissions=True)
|
||||
|
||||
@@ -706,6 +707,7 @@ class TestSerialandBatchBundle(ERPNextTestSuite):
|
||||
"doctype": "Serial No",
|
||||
"serial_no": serial_no,
|
||||
"item_code": item,
|
||||
"company": self.companies[0].name,
|
||||
}
|
||||
).insert(ignore_permissions=True)
|
||||
|
||||
@@ -803,6 +805,7 @@ class TestSerialandBatchBundle(ERPNextTestSuite):
|
||||
"doctype": "Serial No",
|
||||
"serial_no": serial_no,
|
||||
"item_code": sn_item,
|
||||
"company": self.companies[0].name,
|
||||
}
|
||||
).insert(ignore_permissions=True)
|
||||
serial_nos.append(serial_no)
|
||||
|
||||
Reference in New Issue
Block a user