Skip to content

Commit

Permalink
make sure it found the correct page
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Dec 17, 2024
1 parent 41a5df6 commit 4ea41ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/restapi/tests/test_blocks_deserializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,4 +737,4 @@ def test_deserializer_resolve_path_also_if_it_is_an_alias(self):

res = self.deserialize(blocks=blocks)
link = res.blocks["abc"]["href"]
self.assertTrue(link.startswith("../resolveuid/"))
self.assertEqual(link, f"../resolveuid/{self.portal['renamed-doc'].UID()}")

0 comments on commit 4ea41ea

Please sign in to comment.