mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 14:11:45 +01:00
fix: pass company in test case using make_quality_inspections
This commit is contained in:
@@ -142,7 +142,9 @@ class TestQualityInspection(IntegrationTestCase):
|
||||
inspection_type = "Outgoing"
|
||||
for item in dn.items:
|
||||
item.sample_size = item.qty
|
||||
quality_inspections = make_quality_inspections(dn.doctype, dn.name, dn.items, inspection_type)
|
||||
quality_inspections = make_quality_inspections(
|
||||
dn.company, dn.doctype, dn.name, dn.items, inspection_type
|
||||
)
|
||||
self.assertEqual(len(dn.items), len(quality_inspections))
|
||||
|
||||
# cleanup
|
||||
|
||||
Reference in New Issue
Block a user