Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update navigation tests to use new collections implementation.

  • Loading branch information...
commit d2cb8d06b4085f6fbf2bf8427975bd7c4b8a10f8 1 parent f98f6cc
@esteele esteele authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 plone/app/controlpanel/tests/navigation.txt
View
4 plone/app/controlpanel/tests/navigation.txt
@@ -37,7 +37,7 @@ Make some changes
>>> self.browser.getControl('Automatically generate tabs').selected = False
>>> self.browser.getControl('Generate tabs for items other than folders').selected = False
>>> self.browser.getControl('Show items normally excluded from navigation if viewing their children.').selected = False
- >>> self.browser.getControl('Collection').selected = False
+ >>> self.browser.getControl('Collection', index=0).selected = False
>>> self.browser.getControl('Page').selected = False
>>> self.browser.getControl('News Item').selected = False
>>> self.browser.getControl('Filter on workflow state').selected = True
@@ -65,7 +65,7 @@ Make sure the changes have been applied correctly:
>>> navProps.showAllParents
False
- >>> 'Topic' in navProps.metaTypesNotToList
+ >>> 'Collection' in navProps.metaTypesNotToList
True
>>> 'Document' in navProps.metaTypesNotToList
Please sign in to comment.
Something went wrong with that request. Please try again.