Skip to content

Commit

Permalink
Compatibliity with core#2584 (SampleType to DX) (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa authored Aug 4, 2024
1 parent 2678daa commit 1c7ebfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/senaite/referral/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def setup_baseline_data(portal):
setup = portal.bika_setup
client = api.create(portal.clients, "Client", Name="Happy Hills", ClientID="HH")
api.create(client, "Contact", Firstname="Rita", Lastname="Mohale")
api.create(setup.bika_sampletypes, "SampleType", title="Water", Prefix="W")
api.create(portal.setup.sampletypes, "SampleType", title="Water", Prefix="W")
lab_contact = api.create(setup.bika_labcontacts, "LabContact", Firstname="Lab", Lastname="Manager")
department = api.create(portal.setup.departments, "Department", title="Chemistry", Manager=lab_contact)
category = api.create(portal.setup.analysiscategories, "AnalysisCategory", title="Metals", Department=department)
Expand Down

0 comments on commit 1c7ebfa

Please sign in to comment.