mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 08:03:21 +00:00
refactor(tests): reuse persistent master data instead of creating company per test
Replace per-test company creation in setUp() with persistent master data from BootStrapTestData. Add Test PCV Company to test_records.json so it becomes a persistent fixture rather than a throwaway created per test run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -214,5 +214,14 @@
|
||||
"doctype": "Company",
|
||||
"chart_of_accounts": "Standard",
|
||||
"create_chart_of_accounts_based_on": "Standard Template"
|
||||
},
|
||||
{
|
||||
"abbr": "TPC",
|
||||
"company_name": "Test PCV Company",
|
||||
"country": "United States",
|
||||
"default_currency": "USD",
|
||||
"doctype": "Company",
|
||||
"chart_of_accounts": "Standard",
|
||||
"create_chart_of_accounts_based_on": "Standard Template"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user