diff options
Diffstat (limited to 'server/sonar-auth-ldap/src/test')
-rw-r--r-- | server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java b/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java index 5a9acab0469..a2b7cea6bed 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java +++ b/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java @@ -43,16 +43,6 @@ public class LdapGroupMappingTest { } @Test - public void backward_compatibility() { - MapSettings settings = new MapSettings() - .setProperty("ldap.group.objectClass", "group") - .setProperty("ldap.group.memberAttribute", "member"); - LdapGroupMapping groupMapping = new LdapGroupMapping(settings, "ldap"); - - assertThat(groupMapping.getRequest()).isEqualTo("(&(objectClass=group)(member={0}))"); - } - - @Test public void custom_request() { MapSettings settings = new MapSettings() .setProperty("ldap.group.request", "(&(|(objectClass=posixGroup)(objectClass=groupOfUniqueNames))(|(memberUid={uid})(uniqueMember={dn})))"); |