Skip to content

Commit a71f25d

Browse files
committed
Merge 20.7 to 20.11
2 parents 7bff1ab + 78c691b commit a71f25d

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
* Created with IntelliJ IDEA.
@@ -877,6 +878,7 @@ private MockLdapEntry getUserEntry(String email, LdapSettings settings) throws E
877878
props.put(DEFAULT_PHONE_VAL, "(123) 456-7890");
878879
props.put(DEFAULT_FIRST_NAME_VAL, "Test");
879880
props.put(DEFAULT_LAST_NAME_VAL, "User");
881+
props.put(DEFAULT_IM_VAL, "IMTest");
880882

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

@@ -1156,6 +1158,12 @@ protected String getAttribute(String alias)
11561158
return _otherProps.get(alias);
11571159
}
11581160

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

0 commit comments

Comments
 (0)