# HG changeset patch # User Kim Alvefur # Date 1584726761 -3600 # Node ID 08ec83f90ce0e6ab434492c21a9924f379f541a7 # Parent 9a8a55a026e48e6e5e981ca5931ccd352b283a9f MUC: Add test for destroying a room by ad-hoc command Testing ad-hoc commands was not easily doable before 49312378ba1d relaxed the need for state and an extra roundtrip to execute commands diff -r 9a8a55a026e4 -r 08ec83f90ce0 spec/scansion/muc_create_destroy.scs --- a/spec/scansion/muc_create_destroy.scs Thu Mar 19 17:43:08 2020 +0100 +++ b/spec/scansion/muc_create_destroy.scs Fri Mar 20 18:52:41 2020 +0100 @@ -8,6 +8,10 @@ jid: juliet@localhost/lVwkim_k password: password +[Client] Admin + jid: admin@localhost/DfNgg9VE + password: password + ----- Romeo connects @@ -245,6 +249,69 @@ Juliet disconnects +Romeo sends: + + + + +Romeo receives: + + + + + + + + + + + +Romeo receives: + + + + +Romeo sends: + + + + + + +Romeo receives: + + +Admin connects + +Admin sends: + + + + + elsewhere@conference.localhost + + + + + +Romeo receives: + + + + + + + + Romeo disconnects +Admin receives: + + + The following rooms were destroyed: elsewhere@conference.localhost + + + +Admin disconnects + # recording ended on 2019-08-31T13:45:32Z