aboutsummaryrefslogtreecommitdiffstats
path: root/spec
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
commitc295aedbfeeab6ebacb9b5bece085b8a532a7e9d (patch)
tree4952f6a3aa6d31e475c71054b7965b2702d4d0da /spec
parent8aac387431c7dad47c6afffc4bfcc024d3147950 (diff)
downloadprosody-c295aedbfeeab6ebacb9b5bece085b8a532a7e9d.tar.gz
prosody-c295aedbfeeab6ebacb9b5bece085b8a532a7e9d.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')
-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