Skip to content

Commit

Permalink
Fix test for changed label in Products.CMFEditions
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Jul 5, 2022
1 parent 38b2eaa commit 44f598c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plone/app/versioningbehavior/tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ def _assert_versions_history_form(self, version_id, obj_id, title, text):
self.browser.open(
'%s/%s/versions_history_form?version_id=%s'
% (self.portal_url, obj_id, version_id))
self.assertIn('Working Copy', self.browser.contents)
self.assertIn('Current revision', self.browser.contents)

if version_id == 0:
self.assertIn(
'/%s/versions_history_form?version_id=%s' % (obj_id, version_id),
self.browser.contents)
self.assertIn('Working Copy', self.browser.contents)
self.assertIn('Current revision', self.browser.contents)
self.assertIn('Revert to this revision', self.browser.contents)
self.assertIn(
'/%s/@@history?one' % obj_id, self.browser.contents)
Expand Down

0 comments on commit 44f598c

Please sign in to comment.