aboutsummaryrefslogtreecommitdiff
path: root/test/pubsub_tests.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/pubsub_tests.erl')
-rw-r--r--test/pubsub_tests.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pubsub_tests.erl b/test/pubsub_tests.erl
index 3552f7263..ac64185ff 100644
--- a/test/pubsub_tests.erl
+++ b/test/pubsub_tests.erl
@@ -87,7 +87,8 @@ test_features(Config) ->
test_vcard(Config) ->
JID = pubsub_jid(Config),
ct:comment("Retreiving vCard from ~s", [jid:encode(JID)]),
- #iq{type = result, sub_els = [#vcard_temp{}]} =
+ VCard = mod_pubsub_opt:vcard(?config(server, Config)),
+ #iq{type = result, sub_els = [VCard]} =
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
disconnect(Config).