test: Use name instead of doc

Previous filters implicitly returned last document.
This commit is contained in:
Ankush Menat
2025-06-10 11:55:10 +05:30
parent 9f0df5ecf3
commit e8c8f6fb63
14 changed files with 23 additions and 23 deletions

View File

@@ -48,7 +48,7 @@ class TestGetItemDetail(IntegrationTestCase):
{
"doctype": "Batch",
"batch_id": "BATCH01",
"item": item,
"item": item.name,
}
).insert()