mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 07:37:04 +00:00
refactor(test): broken test case in accounts controller
This commit is contained in:
@@ -864,7 +864,7 @@ class TestAccountsController(ERPNextTestSuite):
|
|||||||
|
|
||||||
# Create a Sales Invoice
|
# Create a Sales Invoice
|
||||||
sinv = frappe.new_doc("Sales Invoice")
|
sinv = frappe.new_doc("Sales Invoice")
|
||||||
sinv.customer = self.customer
|
sinv.customer = "_Test Customer"
|
||||||
sinv.company = self.company
|
sinv.company = self.company
|
||||||
sinv.currency = "INR"
|
sinv.currency = "INR"
|
||||||
sinv.taxes_and_charges = "_Test Tax - _TC"
|
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):
|
def test_19_fetch_taxes_based_on_item_tax_template_template(self):
|
||||||
# Create a Sales Invoice
|
# Create a Sales Invoice
|
||||||
sinv = frappe.new_doc("Sales Invoice")
|
sinv = frappe.new_doc("Sales Invoice")
|
||||||
sinv.customer = self.customer
|
sinv.customer = "_Test Customer"
|
||||||
sinv.company = self.company
|
sinv.company = self.company
|
||||||
sinv.currency = "INR"
|
sinv.currency = "INR"
|
||||||
sinv.append(
|
sinv.append(
|
||||||
|
|||||||
Reference in New Issue
Block a user