diff --git a/benchmark/src/main/java/com/aws/greengrass/clientdevices/auth/benchmark/AuthorizationBenchmarks.java b/benchmark/src/main/java/com/aws/greengrass/clientdevices/auth/benchmark/AuthorizationBenchmarks.java index 3da8fc0aa..d7261737f 100644 --- a/benchmark/src/main/java/com/aws/greengrass/clientdevices/auth/benchmark/AuthorizationBenchmarks.java +++ b/benchmark/src/main/java/com/aws/greengrass/clientdevices/auth/benchmark/AuthorizationBenchmarks.java @@ -80,7 +80,8 @@ public boolean GIVEN_single_group_permission_WHEN_simple_auth_request_THEN_succe static abstract class PolicyTestState { final FakeSessionManager sessionManager = new FakeSessionManager(); final GroupManager groupManager = new GroupManager(); - final DeviceAuthClient deviceAuthClient = new DeviceAuthClient(sessionManager, groupManager, null); + final PermissionEvaluationUtils permissionEvaluationUtils = new PermissionEvaluationUtils(groupManager); + final DeviceAuthClient deviceAuthClient = new DeviceAuthClient(sessionManager, null, permissionEvaluationUtils); } static class FakeSession implements Session {