Skip to content

Commit

Permalink
test: Patient Hostory Settings - change rating quantity
Browse files Browse the repository at this point in the history
  • Loading branch information
akashkrishna619 committed Oct 15, 2023
1 parent ae0670f commit b08a39a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_custom_doctype_medical_record(self):
self.assertTrue(medical_rec)

medical_rec = frappe.get_doc("Patient Medical Record", medical_rec)
expected_subject = "Date:{0}Rating:3Feedback:Test Patient History Settings".format(
expected_subject = "Date:{0}Rating:0.3Feedback:Test Patient History Settings".format(
frappe.utils.format_date(getdate())
)
self.assertEqual(strip_html(medical_rec.subject), expected_subject)
Expand Down Expand Up @@ -83,7 +83,7 @@ def create_doc(patient):
"doctype": "Test Patient Feedback",
"patient": patient,
"date": getdate(),
"rating": 3,
"rating": 0.3,
"feedback": "Test Patient History Settings",
}
).insert()
Expand Down

0 comments on commit b08a39a

Please sign in to comment.