refactor(test): unset accounts frozen date

This commit is contained in:
ruthra kumar 2023-10-02 10:56:39 +05:30
parent c322e5f381
commit fc50b174eb

View File

@ -52,10 +52,14 @@ class TestSalesInvoice(FrappeTestCase):
create_items(["_Test Internal Transfer Item"], uoms=[{"uom": "Box", "conversion_factor": 10}])
create_internal_parties()
setup_accounts()
self.remove_accounts_frozen_date()
def tearDown(self):
frappe.db.rollback()
def remove_accounts_frozen_date(self):
frappe.db.set_single_value("Accounts Settings", "acc_frozen_upto", None)
def make(self):
w = frappe.copy_doc(test_records[0])
w.is_pos = 0