aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/uptime.scs
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-12-17 16:29:03 +0100
committerKim Alvefur <zash@zash.se>2023-12-17 16:29:03 +0100
commit30f791386bf8ea375648bf13b7b2171a0f219941 (patch)
tree6c8313826d288b77a475c75d7b3645d1f74a02c7 /spec/scansion/uptime.scs
parent251f4d3c8a72494586887eb701f181fe0bc94f18 (diff)
downloadprosody-30f791386bf8ea375648bf13b7b2171a0f219941.tar.gz
prosody-30f791386bf8ea375648bf13b7b2171a0f219941.zip
scansion: Use captures or wildcards instead of mocking time
> Mockery is one of the things I hold dear! And he's making a mockery of it!! -- Belkar Bitterleaf
Diffstat (limited to 'spec/scansion/uptime.scs')
-rw-r--r--spec/scansion/uptime.scs2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scansion/uptime.scs b/spec/scansion/uptime.scs
index 188b9eb5..ed83e51b 100644
--- a/spec/scansion/uptime.scs
+++ b/spec/scansion/uptime.scs
@@ -15,7 +15,7 @@ Romeo sends:
Romeo receives:
<iq type='result' id='a' from='localhost'>
- <query xmlns='jabber:iq:last' seconds='0'/>
+ <query xmlns='jabber:iq:last' seconds='{scansion:any}'/>
</iq>
Romeo disconnects