refactor(test): make asset repair deterministic

This commit is contained in:
ruthra kumar
2026-01-29 15:05:20 +05:30
parent 075fe3f668
commit 7da61621cc
2 changed files with 10 additions and 5 deletions

View File

@@ -2260,6 +2260,14 @@ class ERPNextTestSuite(unittest.TestCase):
"is_grouped_asset": 0,
"asset_naming_series": "ACC-ASS-.YYYY.-",
},
{
"doctype": "Item",
"item_code": "_Test Stock Item",
"item_name": "Test Stock Item",
"is_stock_item": 1,
"item_group": "All Item Groups",
"stock_uom": "Nos",
},
]
cls.item = []
for x in records: