mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
refactor(test): make asset capitalization deterministic
(cherry picked from commit 2c53cf3902)
This commit is contained in:
@@ -380,6 +380,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