mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 22:48:27 +00:00
refactor(test): make asset capitalization deterministic
This commit is contained in:
@@ -376,6 +376,7 @@ class TestAssetCapitalization(ERPNextTestSuite):
|
|||||||
"asset_type": "Composite Component",
|
"asset_type": "Composite Component",
|
||||||
"purchase_date": pr.posting_date,
|
"purchase_date": pr.posting_date,
|
||||||
"available_for_use_date": pr.posting_date,
|
"available_for_use_date": pr.posting_date,
|
||||||
|
"location": "Test Location",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
consumed_asset_doc.save()
|
consumed_asset_doc.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user