Software /
code /
prosody
Changeset
9670:73e1bdc001ce
spec/keep_full_sub_req: Make the second connect a differenct device (workaround for scansion issue)
scansion threw an error when a client connected again
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Dec 2018 18:12:01 +0100 |
parents | 9669:8c3ef65ecb40 |
children | 9671:e50559a42dfe |
files | spec/scansion/keep_full_sub_req.scs |
diffstat | 1 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/spec/scansion/keep_full_sub_req.scs Sat Dec 01 18:07:56 2018 +0100 +++ b/spec/scansion/keep_full_sub_req.scs Sat Dec 01 18:12:01 2018 +0100 @@ -8,6 +8,10 @@ jid: pars-b@localhost password: password +[Client] Bob's phone + jid: pars-b@localhost/phone + password: password + --------- Alice connects @@ -36,19 +40,19 @@ # Works if they reconnect too -Bob connects +Bob's phone connects -Bob sends: +Bob's phone sends: <presence/> -Bob receives: - <presence from="${Bob's full JID}"/> +Bob's phone receives: + <presence from="${Bob's phone's full JID}"/> -Bob receives: +Bob's phone receives: <presence from="${Alice's JID}" type="subscribe"> <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> </presence> -Bob disconnects +Bob's phone disconnects