diff --git a/plone/app/contentrules/tests/test_action_versioning.py b/plone/app/contentrules/tests/test_action_versioning.py index 2e522c3..709a332 100644 --- a/plone/app/contentrules/tests/test_action_versioning.py +++ b/plone/app/contentrules/tests/test_action_versioning.py @@ -21,6 +21,9 @@ def __init__(self, object): class TestVersioningAction(ContentRulesTestCase): + def afterSetUp(self): + self.request = self.layer['request'] + def testRegistered(self): element = getUtility(IRuleAction, name='plone.actions.Versioning') self.assertEqual('plone.actions.Versioning', element.addview)