Skip to content

RBAC tests: incompatible types: String ("ldap") cannot be converted to Provider #1043

@IncandescentChrysalis

Description

@IncandescentChrysalis

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

Compiling main, RBAC tests fail

Expected behavior

Passing tests

Your installation details

main, commit 1603d587051e1b93c589ab0774e4ec318fd7a735

Steps to reproduce

./gradlew clean build -x test -Pbuild-docker-images=false -Pinclude-frontend=true -Pversion=main

Screenshots

No response

Logs

> Task :api:compileTestJava
/tmp/kafka-ui/api/src/test/java/io/kafbat/ui/service/rbac/MockedRbacUtils.java:42: error: incompatible types: String cannot be converted to Provider
    sub.setProvider("ldap");
                    ^
/tmp/kafka-ui/api/src/test/java/io/kafbat/ui/service/rbac/MockedRbacUtils.java:67: error: incompatible types: String cannot be converted to Provider
    sub.setProvider("ldap");
                    ^
/tmp/kafka-ui/api/src/test/java/io/kafbat/ui/service/rbac/RbacEditTopicTest.java:115: error: incompatible types: String cannot be converted to Provider
    sub.setProvider("ldap");
                    ^
/tmp/kafka-ui/api/src/test/java/io/kafbat/ui/service/rbac/RbacClusterMistakenTest.java:180: error: incompatible types: String cannot be converted to Provider
    sub.setProvider("ldap");
                    ^
/tmp/kafka-ui/api/src/test/java/io/kafbat/ui/service/rbac/RbacClusterMistakenTest.java:201: error: incompatible types: String cannot be converted to Provider
    sub.setProvider("ldap");
                    ^
/tmp/kafka-ui/api/src/test/java/io/kafbat/ui/service/rbac/RbacTopicCreationTest.java:122: error: incompatible types: String cannot be converted to Provider
    sub.setProvider("ldap");
                    ^

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions