Skip to content

Commit 4b3f7c4

Browse files
Merge 20.11.0 to develop
2 parents 44d03e1 + a71f25d commit 4b3f7c4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

OpenLdapSync/src/org/labkey/openldapsync/ldap/LdapSyncRunner.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
import static org.labkey.openldapsync.ldap.LdapSettings.DEFAULT_UID_VAL;
6161
import static org.labkey.openldapsync.ldap.LdapSettings.DISPLAYNAME_FIELD_PROP;
6262
import static org.labkey.openldapsync.ldap.LdapSettings.FIRSTNAME_FIELD_PROP;
63+
import static org.labkey.openldapsync.ldap.LdapSettings.DEFAULT_IM_VAL;
6364

6465
/**
6566
* User: bimber
@@ -876,6 +877,7 @@ private MockLdapEntry getUserEntry(String email, LdapSettings settings) throws E
876877
props.put(DEFAULT_PHONE_VAL, "(123) 456-7890");
877878
props.put(DEFAULT_FIRST_NAME_VAL, "Test");
878879
props.put(DEFAULT_LAST_NAME_VAL, "User");
880+
props.put(DEFAULT_IM_VAL, "IMTest");
879881

880882
String dn = "uid=" + ve.getPersonal() + ",cn=users,dc=example,dc=com";
881883

@@ -1155,6 +1157,12 @@ protected String getAttribute(String alias)
11551157
return _otherProps.get(alias);
11561158
}
11571159

1160+
@Override
1161+
public String getIM()
1162+
{
1163+
return _otherProps.get(DEFAULT_IM_VAL);
1164+
}
1165+
11581166
@Override
11591167
public boolean isEnabled()
11601168
{

0 commit comments

Comments
 (0)