refactor(test): broken test case in accounts controller

This commit is contained in:
ruthra kumar
2026-06-17 10:22:00 +05:30
parent 3d109571ee
commit 59a69fc497

View File

@@ -864,7 +864,7 @@ class TestAccountsController(ERPNextTestSuite):
# Create a Sales Invoice
sinv = frappe.new_doc("Sales Invoice")
sinv.customer = self.customer
sinv.customer = "_Test Customer"
sinv.company = self.company
sinv.currency = "INR"
sinv.taxes_and_charges = "_Test Tax - _TC"
@@ -880,7 +880,7 @@ class TestAccountsController(ERPNextTestSuite):
def test_19_fetch_taxes_based_on_item_tax_template_template(self):
# Create a Sales Invoice
sinv = frappe.new_doc("Sales Invoice")
sinv.customer = self.customer
sinv.customer = "_Test Customer"
sinv.company = self.company
sinv.currency = "INR"
sinv.append(