diff --git a/src/senaite/ast/tests/doctests/AST.rst b/src/senaite/ast/tests/doctests/AST.rst index e4206c9..b3f4c74 100644 --- a/src/senaite/ast/tests/doctests/AST.rst +++ b/src/senaite/ast/tests/doctests/AST.rst @@ -42,7 +42,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="Blood", Prefix="B") + >>> sampletype = api.create(portal.setup.sampletypes, "SampleType", title="Blood", Prefix="B") >>> labcontact = api.create(setup.bika_labcontacts, "LabContact", Firstname="Lab", Lastname="Manager") >>> department = api.create(portal.setup.departments, "Department", title="Microbiology", Manager=labcontact) >>> category = api.create(portal.setup.analysiscategories, "AnalysisCategory", title="Microbiology", Department=department)