diff --git a/docs/crud.rst b/docs/crud.rst index e649fd6..f9606c0 100644 --- a/docs/crud.rst +++ b/docs/crud.rst @@ -108,7 +108,7 @@ Body Content type (application/json): "hours": 0, "minutes": 0 }, - "parent_path": "/senaite/bika_setup/bika_sampletypes" + "parent_path": "/senaite/setup/sampletypes" } diff --git a/src/senaite/jsonapi/tests/doctests/create.rst b/src/senaite/jsonapi/tests/doctests/create.rst index db95e04..585fbba 100644 --- a/src/senaite/jsonapi/tests/doctests/create.rst +++ b/src/senaite/jsonapi/tests/doctests/create.rst @@ -177,7 +177,7 @@ Create a Sample Type ~~~~~~~~~~~~~~~~~~~~ >>> data = {"portal_type": "SampleType", - ... "parent_path": api.get_path(setup.bika_sampletypes), + ... "parent_path": api.get_path(poral.setup.sampletypes), ... "title": "Fresh Egg", ... "MinimumVolume": "10 gr", ... "AdmittedStickerTemplates": [{"admitted": ["QR_1x14mmx39mm.pt"], "small_default": ["QR_1x14mmx39mm.pt"], "large_default": ["QR_1x14mmx39mm.pt"]}],