Skip to content

Commit

Permalink
Change bika_departments -> departments
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonski committed Feb 29, 2024
1 parent db20911 commit 3a2520f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/senaite/patient/tests/doctests/AgeDateOfBirthField.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ We need to create some basic objects for the test:
>>> contact = api.create(client, "Contact", Firstname="Rita", Lastname="Mohale")
>>> sampletype = api.create(setup.bika_sampletypes, "SampleType", title="Blood", Prefix="B")
>>> labcontact = api.create(setup.bika_labcontacts, "LabContact", Firstname="Lab", Lastname="Manager")
>>> department = api.create(setup.bika_departments, "Department", title="Clinical Lab", Manager=labcontact)
>>> department = api.create(setup.departments, "Department", title="Clinical Lab", Manager=labcontact)
>>> category = api.create(setup.bika_analysiscategories, "AnalysisCategory", title="Blood", Department=department)
>>> malaria = api.create(setup.bika_analysisservices, "AnalysisService", title="Malaria Count", Keyword="MC", Price="10", Category=category.UID(), Accredited=True)
>>> sample = new_sample([malaria], client, contact, sampletype, sampled, DateOfBirth=birth_date)
Expand Down

0 comments on commit 3a2520f

Please sign in to comment.