Skip to content

Commit

Permalink
Compatiblity with core#2584 (SampleType to DX)
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa committed Aug 4, 2024
1 parent 45b08eb commit 5c92b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/senaite/lis2a/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def setup_baseline_data(portal):
setup = portal.bika_setup
client = _api.create(portal.clients, "Client", Name="Happy Hills", ClientID="HH")
contact = _api.create(client, "Contact", Firstname="Rita", Lastname="Mohale")
sample_type = _api.create(setup.bika_sampletypes, "SampleType", title="Water", Prefix="W")
sample_type = _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 5c92b68

Please sign in to comment.