25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Proper naming for LDAP test function for shared roster

This commit is contained in:
Mickael Remond 2016-03-25 17:42:58 +01:00
parent eace5fc463
commit a08ecc0f41

View File

@ -355,7 +355,7 @@ ldap_tests() ->
[{ldap_tests, [sequence], [{ldap_tests, [sequence],
[test_auth, [test_auth,
vcard_get, vcard_get,
ldap_shared_roster_vcard_get]}]. ldap_shared_roster_get]}].
extauth_tests() -> extauth_tests() ->
[{extauth_tests, [sequence], [{extauth_tests, [sequence],
@ -801,7 +801,7 @@ vcard_get(Config) ->
send_recv(Config, #iq{type = get, sub_els = [#vcard{}]}), send_recv(Config, #iq{type = get, sub_els = [#vcard{}]}),
disconnect(Config). disconnect(Config).
ldap_shared_roster_vcard_get(Config) -> ldap_shared_roster_get(Config) ->
Item = #roster_item{jid = jid:from_string(<<"user2@ldap.localhost">>), name = <<"Test User 2">>, Item = #roster_item{jid = jid:from_string(<<"user2@ldap.localhost">>), name = <<"Test User 2">>,
groups = [<<"group1">>], subscription = both}, groups = [<<"group1">>], subscription = both},
#iq{type = result, sub_els = [#roster{items = [Item]}]} = #iq{type = result, sub_els = [#roster{items = [Item]}]} =