Skip to content

Commit 44435d2

Browse files
authored
Merge pull request #637 from omertuc/authmww
LCORE-602: Fix unit-test warning
2 parents 57a19bf + a69b96e commit 44435d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/utils/auth_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def mock_authorization_resolvers(mocker: Any) -> None:
1919
"authorization.middleware.get_authorization_resolvers"
2020
)
2121
mock_role_resolver = AsyncMock()
22-
mock_access_resolver = AsyncMock()
22+
mock_access_resolver = Mock()
2323
mock_role_resolver.resolve_roles.return_value = set()
2424
mock_access_resolver.check_access.return_value = True
2525
# get_actions should be synchronous, not async

0 commit comments

Comments
 (0)