From 5c665c562a61194fe348a696513c7901ca381f47 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Tue, 8 Jul 2025 19:31:03 +0530 Subject: [PATCH] fix: test case --- erpnext/stock/doctype/batch/test_batch.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/doctype/batch/test_batch.py b/erpnext/stock/doctype/batch/test_batch.py index 8d56ce8b1ee..d48ad47b100 100644 --- a/erpnext/stock/doctype/batch/test_batch.py +++ b/erpnext/stock/doctype/batch/test_batch.py @@ -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, + }, ], )