Skip to content

Commit

Permalink
test: sales invoice override - use globalTestRecords
Browse files Browse the repository at this point in the history
  • Loading branch information
akurungadam committed Oct 21, 2024
1 parent b972c57 commit 4a89b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion healthcare/healthcare/custom_doctype/test_sales_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class TestSalesInvoice(IntegrationTestCase):
def test_set_healthcare_services_should_preserve_state(self):
invoice = frappe.copy_doc(frappe.get_test_records("Sales Invoice")[0]) # FIXME: test records
invoice = frappe.copy_doc(self.globalTestRecords["Sales Invoice"][0])

count = len(invoice.items)
item = invoice.items[0]
Expand Down

0 comments on commit 4a89b47

Please sign in to comment.