From ce286d654e29f9d6733b119dd6e620958e9a4bdf Mon Sep 17 00:00:00 2001 From: Dirk Kulawiak Date: Wed, 13 Nov 2024 15:16:23 +0100 Subject: [PATCH] really really fix test --- integration/test_rbac.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/test_rbac.py b/integration/test_rbac.py index 246d9ba4d..5a680f2ec 100644 --- a/integration/test_rbac.py +++ b/integration/test_rbac.py @@ -20,6 +20,6 @@ def test_create_role(client_factory: ClientFactory) -> None: role = client.roles.by_name("CollectionCreator") assert role is not None assert role.name == "CollectionCreator" - assert role.database_permissions is not None - assert len(role.database_permissions) == 1 - assert role.database_permissions[0] == RBAC.actions.collection.CREATE_COLLECTIONS + assert role.collections_permissions is not None + assert len(role.collections_permissions) == 1 + assert role.collections_permissions[0] == RBAC.actions.collection.CREATE_COLLECTIONS