Commit d20bde9a authored by Vincent Pelletier's avatar Vincent Pelletier

testERP5Security: _value expects a document, not a relative url.

parent 78de106b
......@@ -830,7 +830,7 @@ class TestLocalRoleManagement(ERP5TypeTestCase):
id = 'Alternate')
self._getTypeInfo().newContent(portal_type='Role Information',
role_name='Assignor',
local_role_group_value=self.portal.portal_categories.local_role_group.Alternate.getRelativeUrl(),
local_role_group_value=self.portal.portal_categories.local_role_group.Alternate,
role_category=self.defined_category)
self.loginAsUser(self.username)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment