Ticket #4242 (closed Bug: fixed)
"Review portal content" permission is not taken into account in display contents tab test
| Reported by: | maikroeder | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2.1 |
| Component: | Infrastructure | Keywords: | |
| Cc: |
Description
While doing the PloneSelenium functional tests for "Delete Objects", I realised that the unit tests are not taking the review "Review portal content" permission into account in tests/testDisplayContentsTab.py.
Just add this permission to the following method, and we should be fine:
def getModificationPermissions(self):
return [ModifyPortalContent,
AddPortalContent, copy_or_move, delete_objects]
Change History
Note: See
TracTickets for help on using
tickets.