Skip to content

Commit

Permalink
Merge branch 'develop' into treatment-counselling-v01
Browse files Browse the repository at this point in the history
  • Loading branch information
akurungadam authored Oct 22, 2024
2 parents 743425e + ce21bc0 commit c44eaaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion healthcare/healthcare/custom_doctype/test_sales_invoice.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import frappe
from frappe.tests import IntegrationTestCase

EXTRA_TEST_RECORD_DEPENDENCIES = ["Sales Invoice"]


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 c44eaaf

Please sign in to comment.