about summary refs log tree commit diff stats
path: root/tests/functionaltests/test_rooms.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-13 20:10:12 +0100
committerJames Booth <boothj5@gmail.com>2015-06-13 20:10:12 +0100
commit0c3fe51799c46542b9f317d1b7cbc289125bc7b9 (patch)
treedb5308a9eac0aeec51443b146466099bb14c9de0 /tests/functionaltests/test_rooms.c
parent6255420b803dabc38cbda44ca13f5c458b85f5d5 (diff)
downloadprofani-tty-0c3fe51799c46542b9f317d1b7cbc289125bc7b9.tar.gz
Changed assert order in rooms test
Diffstat (limited to 'tests/functionaltests/test_rooms.c')
-rw-r--r--tests/functionaltests/test_rooms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functionaltests/test_rooms.c b/tests/functionaltests/test_rooms.c
index e4fe0200..c81ded6b 100644
--- a/tests/functionaltests/test_rooms.c
+++ b/tests/functionaltests/test_rooms.c
@@ -27,12 +27,12 @@ rooms_query(void **state)
 
     prof_input("/rooms");
 
+    assert_true(prof_output_exact("chatroom@conference.localhost, (A chat room)"));
+    assert_true(prof_output_exact("hangout@conference.localhost, (Another chat room)"));
+
     assert_true(stbbr_last_received(
         "<iq id=\"confreq\" to=\"conference.localhost\" type=\"get\">"
             "<query xmlns=\"http://jabber.org/protocol/disco#items\"/>"
         "</iq>"
     ));
-
-    assert_true(prof_output_exact("chatroom@conference.localhost, (A chat room)"));
-    assert_true(prof_output_exact("hangout@conference.localhost, (Another chat room)"));
 }