Skip to content

Commit

Permalink
removed the portal error
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Dec 16, 2023
1 parent eab8bef commit 90b9e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/restapi/tests/test_dxcontent_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def test_allow_discussion_obj_instance_allows_global_enabled(self):
)
def test_allow_discussion_portal_default(self):
"""Not globally addable, not fti enabled, not obj instance enabled"""
serializer = getMultiAdapter((self.portal.doc2, self.request), ISerializeToJson)
serializer = getMultiAdapter((self.portal, self.request), ISerializeToJson)
obj = serializer()

self.assertIn("allow_discussion", obj)
Expand Down

0 comments on commit 90b9e09

Please sign in to comment.