diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-20 19:22:54 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-20 19:22:54 +0200 |
commit | 24cf05c4ae1f6fa1c125c220a7b6f3c438db9073 (patch) | |
tree | fbfb917ede375f4da2e8033a34962a456493de19 /spec | |
parent | 7040fbb812f524845c9164732ec4f0957e0318d0 (diff) | |
download | prosody-24cf05c4ae1f6fa1c125c220a7b6f3c438db9073.tar.gz prosody-24cf05c4ae1f6fa1c125c220a7b6f3c438db9073.zip |
mod_uptime: Add scansion test coverage
Once the Prosody is up, who cares when it comes down?
That's not my department, says scanison.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/scansion/uptime.scs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/scansion/uptime.scs b/spec/scansion/uptime.scs new file mode 100644 index 00000000..188b9eb5 --- /dev/null +++ b/spec/scansion/uptime.scs @@ -0,0 +1,21 @@ +# XEP-0012: Last Activity / mod_uptime + +[Client] Romeo + jid: romeo@localhost + password: password + +----- + +Romeo connects + +Romeo sends: + <iq id='a' type='get' to='localhost'> + <query xmlns='jabber:iq:last'/> + </iq> + +Romeo receives: + <iq type='result' id='a' from='localhost'> + <query xmlns='jabber:iq:last' seconds='0'/> + </iq> + +Romeo disconnects |