about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--stabbertests/test_connect.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/stabbertests/test_connect.c b/stabbertests/test_connect.c
index 72f38a36..1b69a990 100644
--- a/stabbertests/test_connect.c
+++ b/stabbertests/test_connect.c
@@ -53,6 +53,15 @@ sends_rooms_iq(void **state)
     cmd_process_input(strdup("/connect stabber@localhost port 5230"));
     prof_process_xmpp();
 
+    stbbr_for("confreq",
+        "<iq id=\"confreq\" type=\"result\" to=\"stabber@localhost/profanity\" from=\"conference.localhost\">"
+            "<query xmlns=\"http://jabber.org/protocol/disco#items\">"
+                "<item jid=\"chatroom@conference.localhost\" name=\"A chat room\"/>"
+                "<item jid=\"hangout@conference.localhost\" name=\"Another chat room\"/>"
+            "</query>"
+        "</iq>"
+    );
+
     cmd_process_input(strdup("/rooms"));
     prof_process_xmpp();