mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
test: Use name instead of doc
Previous filters implicitly returned last document.
This commit is contained in:
@@ -48,7 +48,7 @@ class TestGetItemDetail(IntegrationTestCase):
|
||||
{
|
||||
"doctype": "Batch",
|
||||
"batch_id": "BATCH01",
|
||||
"item": item,
|
||||
"item": item.name,
|
||||
}
|
||||
).insert()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user