Skip to content
Snippets Groups Projects
Commit 1c93d747 authored by florian's avatar florian
Browse files

FIX: Fix test_permissions

parent 1113100c
Branches
Tags
No related merge requests found
......@@ -1210,7 +1210,7 @@ def test_check_entity_acl_roles():
with raises(db.TransactionError) as cm:
grant_permission(p, "USE:AS_PARENT", username="asdf-non-existing",
switch=False)
errors = cm.value.entity.errors
errors = cm.value.entities[0].errors
assert errors[0].description == "User Role does not exist."
db.administration.set_server_property(
"CHECK_ENTITY_ACL_ROLES_MODE", "SHOULD")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment