aboutsummaryrefslogtreecommitdiff
path: root/test/proxy65_tests.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/proxy65_tests.erl')
-rw-r--r--test/proxy65_tests.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/proxy65_tests.erl b/test/proxy65_tests.erl
index 01292f508..49e195d38 100644
--- a/test/proxy65_tests.erl
+++ b/test/proxy65_tests.erl
@@ -24,12 +24,20 @@
%%%===================================================================
single_cases() ->
{proxy65_single, [sequence],
- [single_test(feature_enabled)]}.
+ [single_test(feature_enabled),
+ single_test(service_vcard)]}.
feature_enabled(Config) ->
true = is_feature_advertised(Config, ?NS_BYTESTREAMS, proxy_jid(Config)),
disconnect(Config).
+service_vcard(Config) ->
+ JID = proxy_jid(Config),
+ ct:comment("Retreiving vCard from ~s", [jid:to_string(JID)]),
+ #iq{type = result, sub_els = [#vcard_temp{}]} =
+ send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
+ disconnect(Config).
+
%%%===================================================================
%%% Master-slave tests
%%%===================================================================