tests: Add some comments to xep54 test
authorKim Alvefur <zash@zash.se>
Sat, 20 Oct 2018 17:31:17 +0200
changeset 9527 1f6f3b941eb1
parent 9526 e9122479e5d8
child 9528 0d065b1a23a3
tests: Add some comments to xep54 test
spec/scansion/vcard_temp.scs
--- a/spec/scansion/vcard_temp.scs	Sat Oct 20 17:29:31 2018 +0200
+++ b/spec/scansion/vcard_temp.scs	Sat Oct 20 17:31:17 2018 +0200
@@ -13,6 +13,8 @@
 
 Romeo connects
 
+# Romeo sets his vCard
+# FN and N are required by the schema and mod_vcard_legacy will always inject them
 Romeo sends:
 	<iq id="lx3" type="set">
 		<vCard xmlns="vcard-temp">
@@ -58,6 +60,7 @@
 		<vCard xmlns="vcard-temp"/>
 	</iq>
 
+# Juliet can see Romeo's vCard since it's public
 Juliet receives:
 	<iq type="result" from="romeo@localhost" id="lx3" to="${Juliet's full JID}">
 		<vCard xmlns="vcard-temp">