Skip to content

Commit 11c4d85

Browse files
authored
Merge pull request #39 from senaite/compat-core-2584
Compatibility with core#2584 (SampleType to DX)
2 parents 9a4d43c + 3efe2c8 commit 11c4d85

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changelog
44
1.2.0 (unreleased)
55
------------------
66

7+
- #39 Compatibility with core#2584 (SampleType to DX)
78
- #38 Compatibility with core#2595 (Move ARAnalysesField logic to data manager)
89
- #37 Compatibility with core#2567 (AnalysisCategory to DX)
910
- #37 Compatibility with core#2471 (Department to DX)

src/senaite/ast/tests/doctests/AST.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ We need to create some basic objects for the test:
4242
>>> setRoles(portal, TEST_USER_ID, ['LabManager',])
4343
>>> client = api.create(portal.clients, "Client", Name="Happy Hills", ClientID="HH", MemberDiscountApplies=True)
4444
>>> contact = api.create(client, "Contact", Firstname="Rita", Lastname="Mohale")
45-
>>> sampletype = api.create(setup.bika_sampletypes, "SampleType", title="Blood", Prefix="B")
45+
>>> sampletype = api.create(portal.setup.sampletypes, "SampleType", title="Blood", Prefix="B")
4646
>>> labcontact = api.create(setup.bika_labcontacts, "LabContact", Firstname="Lab", Lastname="Manager")
4747
>>> department = api.create(portal.setup.departments, "Department", title="Microbiology", Manager=labcontact)
4848
>>> category = api.create(portal.setup.analysiscategories, "AnalysisCategory", title="Microbiology", Department=department)

0 commit comments

Comments
 (0)