From 7bd3872d6c288db8907b9a87f7b645e43fd85d4b Mon Sep 17 00:00:00 2001 From: Philip Bauer Date: Fri, 8 Apr 2022 10:27:39 +0200 Subject: [PATCH] Fix tests for #3486 --- Products/CMFPlone/controlpanel/README.rst | 2 +- Products/CMFPlone/tests/testNavigationView.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Products/CMFPlone/controlpanel/README.rst b/Products/CMFPlone/controlpanel/README.rst index 23d5a13846..cf40792daf 100644 --- a/Products/CMFPlone/controlpanel/README.rst +++ b/Products/CMFPlone/controlpanel/README.rst @@ -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 diff --git a/Products/CMFPlone/tests/testNavigationView.py b/Products/CMFPlone/tests/testNavigationView.py index c3e19480b8..ee8b3b64e8 100644 --- a/Products/CMFPlone/tests/testNavigationView.py +++ b/Products/CMFPlone/tests/testNavigationView.py @@ -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):