test: use named item in test_cancel_shifts_same_timestamp_delivery_notes

This commit is contained in:
Rohit Waghchaure
2026-07-25 09:09:28 +05:30
parent da7b689837
commit c8570b614a

View File

@@ -1358,7 +1358,7 @@ class TestStockLedgerEntry(FrappeTestCase, StockTestMixin):
self.assertEqual(qty_after(receipt2), 10)
def test_cancel_shifts_same_timestamp_delivery_notes(self):
item = make_item().name
item = make_item("Test Shifts Same Timestamp Muultiple DNs").name
warehouse = "_Test Warehouse - _TC"
posting_date = today()
posting_time = "10:00:00"