aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-12-01 18:12:01 +0100
committerKim Alvefur <zash@zash.se>2018-12-01 18:12:01 +0100
commitc219636c741e61d57ef8315480e6a596e6e4ff7a (patch)
tree4952f6a3aa6d31e475c71054b7965b2702d4d0da /spec/scansion
parent5adc46bde533b5ce92029eb33b2ddc2899dbd737 (diff)
downloadprosody-c219636c741e61d57ef8315480e6a596e6e4ff7a.tar.gz
prosody-c219636c741e61d57ef8315480e6a596e6e4ff7a.zip
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
Diffstat (limited to 'spec/scansion')
-rw-r--r--spec/scansion/keep_full_sub_req.scs16
1 files changed, 10 insertions, 6 deletions
diff --git a/spec/scansion/keep_full_sub_req.scs b/spec/scansion/keep_full_sub_req.scs
index 5a5e1fdf..244c1d55 100644
--- a/spec/scansion/keep_full_sub_req.scs
+++ b/spec/scansion/keep_full_sub_req.scs
@@ -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 @@ Bob disconnects
# 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