diff --git a/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java b/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java index 81ffa988d3..b11d5e43b4 100644 --- a/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java +++ b/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java @@ -6,6 +6,7 @@ import org.junit.Rule; import org.junit.Test; import org.keycloak.representations.idm.GroupRepresentation; import org.keycloak.representations.idm.RealmRepresentation; +import org.keycloak.representations.idm.UserFederationProviderFactoryRepresentation; import org.keycloak.representations.idm.UserFederationProviderRepresentation; import org.keycloak.representations.idm.UserRepresentation; import org.keycloak.testsuite.AbstractKeycloakTest; @@ -71,6 +72,12 @@ public class SSSDTest extends AbstractKeycloakTest { adminClient.realm(REALM_NAME).userFederation().create(userFederation); } + @Test + public void testProviderFactories() { + List providerFactories = adminClient.realm(REALM_NAME).userFederation().getProviderFactories(); + Assert.assertNames(providerFactories, "ldap", "kerberos", "dummy", "dummy-configurable", "sssd"); + } + @Test public void testWrongUser() { log.debug("Testing wrong password for user " + USERNAME);