Permalink
Browse files

Update navigation tests to use new collections implementation.

  • Loading branch information...
1 parent f98f6cc commit d2cb8d06b4085f6fbf2bf8427975bd7c4b8a10f8 @esteele esteele committed Apr 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit d2cb8d0

Please sign in to comment.