mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-29 03:28:32 +00:00
fix: test case
This commit is contained in:
@@ -305,8 +305,18 @@ class TestBatch(IntegrationTestCase):
|
||||
self.assertEqual(
|
||||
get_batch_qty(item_code="ITEM-BATCH-2", warehouse="_Test Warehouse - _TC"),
|
||||
[
|
||||
{"batch_no": "batch a", "qty": 90.0, "warehouse": "_Test Warehouse - _TC"},
|
||||
{"batch_no": "batch b", "qty": 90.0, "warehouse": "_Test Warehouse - _TC"},
|
||||
{
|
||||
"batch_no": "batch a",
|
||||
"qty": 90.0,
|
||||
"warehouse": "_Test Warehouse - _TC",
|
||||
"expiry_date": None,
|
||||
},
|
||||
{
|
||||
"batch_no": "batch b",
|
||||
"qty": 90.0,
|
||||
"warehouse": "_Test Warehouse - _TC",
|
||||
"expiry_date": None,
|
||||
},
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user