Skip to content

Commit

Permalink
Merge pull request #3490 from plone/change_displayed_types_defaults
Browse files Browse the repository at this point in the history
Fix tests for #3486
  • Loading branch information
pbauer authored May 3, 2022
2 parents c856cb1 + 7bd3872 commit 63460c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Products/CMFPlone/controlpanel/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Navigation Control Panel
True

>>> navigation_settings.displayed_types
('Image', 'File', 'Link', 'News Item', 'Folder', 'Document', 'Event')
('Link', 'News Item', 'Folder', 'Document', 'Event', 'Collection')

>>> navigation_settings.filter_on_workflow
False
Expand Down
2 changes: 1 addition & 1 deletion Products/CMFPlone/tests/testNavigationView.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def testSitemapWithNavigationRoot(self):
view = self.view_class(self.portal, self.request)
sitemap = view.siteMap()
self.assertEqual(sitemap['children'][-1]['item'].getPath(),
'/plone/folder2/file21')
'/plone/folder2/doc23')


class TestBasePortalTabs(PloneTestCase.PloneTestCase):
Expand Down

0 comments on commit 63460c1

Please sign in to comment.