Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rodfersou committed Jul 3, 2019
1 parent 928c736 commit 9d5b50f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sc/social/like/tests/test_viewlets.py
Expand Up @@ -178,6 +178,8 @@ def test_social_viewlet_is_disabled_on_content_edit(self):
html = self.obj.restrictedTraverse('@@edit')() # Dexterity
self.assertNotIn('id="viewlet-social-like"', html)

# TODO: find why folder_contents view is not available in Plone 5
@unittest.skipIf(IS_PLONE_5, "Plone 5 don't have this view")
def test_viewlet_is_not_present_in_foldercontents(self):
view = api.content.get_view(
name=u'folder_contents', context=self.obj, request=self.request)
Expand Down

0 comments on commit 9d5b50f

Please sign in to comment.