Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa committed Aug 4, 2024
1 parent 5367a5f commit f70aed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/crud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/jsonapi/tests/doctests/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}],
Expand Down

0 comments on commit f70aed1

Please sign in to comment.