Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Jan 17, 2025
1 parent cad27c0 commit 4cd9e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/restapi/tests/test_content_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_patch_document_with_invalid_body_returns_400(self):
data="foo",
)
self.assertEqual(400, response.status_code)
self.assertIn("DeserializationError", response.text)
self.assertIn("No JSON object could be decoded", response.text)

def test_patch_undeserializable_object_returns_501(self):
obj = PortalContent()
Expand Down

0 comments on commit 4cd9e81

Please sign in to comment.