refactor(test): make budget deterministic

This commit is contained in:
ruthra kumar
2026-01-29 10:57:54 +05:30
parent bb51e3147c
commit 3a5869e525
2 changed files with 2 additions and 6 deletions

View File

@@ -17,12 +17,6 @@ from erpnext.tests.utils import ERPNextTestSuite
class TestBudget(ERPNextTestSuite):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.make_monthly_distribution()
cls.make_projects()
def setUp(self):
frappe.db.set_single_value("Accounts Settings", "use_legacy_budget_controller", False)
self.company = "_Test Company"

View File

@@ -250,6 +250,8 @@ class ERPNextTestSuite(unittest.TestCase):
cls.make_quality_inspection_template()
cls.make_employees()
cls.make_brand()
cls.make_monthly_distribution()
cls.make_projects()
cls.update_selling_settings()
cls.update_stock_settings()
cls.update_system_settings()