Skip to content

feat: Add Admin Fine Grained Permissions to Keycloak Client #146

feat: Add Admin Fine Grained Permissions to Keycloak Client

feat: Add Admin Fine Grained Permissions to Keycloak Client #146

Triggered via pull request January 2, 2025 17:29
Status Failure
Total duration 5m 26s
Artifacts

pr.yaml

on: pull_request
check-commit-message
1m 47s
check-commit-message
helm-docs
16s
helm-docs
helm-lint
23s
helm-lint
docker-lint
0s
docker-lint
Matrix: End-to-end tests
e2e-tests-check
0s
e2e-tests-check
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors
build-and-lint: controllers/clusterkeycloakrealm/chain/auth_flow_test.go#L31
cannot use mocks.NewMockClient(t) (value of type *mocks.MockClient) as keycloak.Client value in return statement: *mocks.MockClient does not implement keycloak.Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/clusterkeycloakrealm/chain/auth_flow_test.go#L50
cannot use kc (variable of type *mocks.MockClient) as keycloak.Client value in return statement: *mocks.MockClient does not implement keycloak.Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/clusterkeycloakrealm/chain/auth_flow_test.go#L68
cannot use kc (variable of type *mocks.MockClient) as keycloak.Client value in return statement: *mocks.MockClient does not implement keycloak.Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/clusterkeycloakrealm/chain/configure_email_test.go#L109
cannot use m (variable of type *mocks.MockClient) as keycloak.Client value in return statement: *mocks.MockClient does not implement keycloak.Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/clusterkeycloakrealm/chain/user_profile_test.go#L73
cannot use m (variable of type *mocks.MockClient) as keycloak.Client value in return statement: *mocks.MockClient does not implement keycloak.Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/clusterkeycloakrealm/chain/user_profile_test.go#L81
cannot use mocks.NewMockClient(t) (value of type *mocks.MockClient) as keycloak.Client value in return statement: *mocks.MockClient does not implement keycloak.Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/helper/controller_helper_auth_test.go#L64
cannot use adapterMock (variable of type *mocks.MockClient) as keycloak.Client value in return statement: *mocks.MockClient does not implement keycloak.Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/keycloakauthflow/terminator_test.go#L31
cannot use kClient (variable of type *mocks.MockClient) as "github.com/epam/edp-keycloak-operator/pkg/client/keycloak".Client value in argument to makeTerminator: *mocks.MockClient does not implement "github.com/epam/edp-keycloak-operator/pkg/client/keycloak".Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/keycloakauthflow/terminator_test.go#L87
cannot use kClient (variable of type *mocks.MockClient) as "github.com/epam/edp-keycloak-operator/pkg/client/keycloak".Client value in argument to makeTerminator: *mocks.MockClient does not implement "github.com/epam/edp-keycloak-operator/pkg/client/keycloak".Client (wrong type for method UpdateClientManagementPermissions)
build-and-lint: controllers/keycloakclient/terminator_test.go#L17
cannot use kClient (variable of type *mocks.MockClient) as "github.com/epam/edp-keycloak-operator/pkg/client/keycloak".Client value in argument to makeTerminator: *mocks.MockClient does not implement "github.com/epam/edp-keycloak-operator/pkg/client/keycloak".Client (wrong type for method UpdateClientManagementPermissions)
e2e-tests-check
Process completed with exit code 1.