Skip to content

Commit

Permalink
Compatibility with core#2584 (SampleType to DX) (#46)
Browse files Browse the repository at this point in the history
* Compatibility with core#2584 (SampleType to DX)

* Changelog
  • Loading branch information
xispa authored Oct 17, 2024
1 parent deca534 commit 759eb11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changelog
2.6.0 (unreleased)
------------------

- #46 Compatibility with core#2584 (SampleType to DX)
- #44 Compatibility with core#2567 (AnalysisCategory to DX)
- #42 Compatibility with core#2471 (Department to DX)
- #39 Add storage settings for auto-store/recover of primary sample
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/storage/tests/doctests/PrimarySample.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Create some baseline objects for the test:

>>> client = api.create(portal.clients, "Client", Name="Happy Hills", ClientID="HH", MemberDiscountApplies=True)
>>> contact = api.create(client, "Contact", Firstname="Rita", Lastname="Mohale")
>>> sampletype = api.create(setup.bika_sampletypes, "SampleType", title="Water", Prefix="W")
>>> sampletype = api.create(setup.sampletypes, "SampleType", title="Water", Prefix="W")
>>> labcontact = api.create(setup.bika_labcontacts, "LabContact", Firstname="Lab", Lastname="Manager")
>>> department = api.create(portal.setup.departments, "Department", title="Chemistry", Manager=labcontact)
>>> category = api.create(portal.setup.analysiscategories, "AnalysisCategory", title="Metals", Department=department)
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/storage/tests/doctests/StorageWorkflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ We need to create some basic objects for the test:
>>> setRoles(portal, TEST_USER_ID, ['LabManager',])
>>> client = api.create(portal.clients, "Client", Name="Happy Hills", ClientID="HH", MemberDiscountApplies=True)
>>> contact = api.create(client, "Contact", Firstname="Rita", Lastname="Mohale")
>>> sampletype = api.create(setup.bika_sampletypes, "SampleType", title="Water", Prefix="W")
>>> sampletype = api.create(portal.setup.sampletypes, "SampleType", title="Water", Prefix="W")
>>> labcontact = api.create(setup.bika_labcontacts, "LabContact", Firstname="Lab", Lastname="Manager")
>>> department = api.create(portal.setup.departments, "Department", title="Chemistry", Manager=labcontact)
>>> category = api.create(portal.setup.analysiscategories, "AnalysisCategory", title="Metals", Department=department)
Expand Down

0 comments on commit 759eb11

Please sign in to comment.