diff options
author | James Booth <boothj5@gmail.com> | 2015-05-24 18:35:06 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-05-24 18:35:06 +0100 |
commit | 766b4e0e5f9a5a3517dd7f8e2740c32496d17c4d (patch) | |
tree | 9113793568eb7dd9ba9ba5877f16ac94561d1520 | |
parent | 80665ea0514a6a9b93af7858a3db1467091f80df (diff) | |
download | profani-tty-766b4e0e5f9a5a3517dd7f8e2740c32496d17c4d.tar.gz |
Added rooms iq verification
-rw-r--r-- | stabbertests/test_connect.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/stabbertests/test_connect.c b/stabbertests/test_connect.c index a09b8661..72f38a36 100644 --- a/stabbertests/test_connect.c +++ b/stabbertests/test_connect.c @@ -55,4 +55,10 @@ sends_rooms_iq(void **state) cmd_process_input(strdup("/rooms")); prof_process_xmpp(); + + assert_true(stbbr_verify_last( + "<iq id=\"confreq\" to=\"conference.localhost\" type=\"get\">" + "<query xmlns=\"http://jabber.org/protocol/disco#items\"/>" + "</iq>" + )); } |