about summary refs log tree commit diff stats
path: root/tests/test_muc.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-30 23:37:36 +0000
committerJames Booth <boothj5@gmail.com>2014-01-30 23:37:36 +0000
commit991ffdecebf4c9f4023c9e4f36141098ba23dd58 (patch)
tree5ecaf6362db540c76b2e812f830f3000a3aba79a /tests/test_muc.c
parenta472ce653f1801726f18ca579f8dcffd64ef4d20 (diff)
downloadprofani-tty-991ffdecebf4c9f4023c9e4f36141098ba23dd58.tar.gz
Close muc after test
Diffstat (limited to 'tests/test_muc.c')
-rw-r--r--tests/test_muc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_muc.c b/tests/test_muc.c
index 3a8da50a..2af13516 100644
--- a/tests/test_muc.c
+++ b/tests/test_muc.c
@@ -15,6 +15,8 @@ void test_muc_add_invite(void **state)
     gboolean invite_exists = muc_invites_include(room);
 
     assert_true(invite_exists);
+
+    muc_close();
 }
 
 void test_muc_remove_invite(void **state)
@@ -27,4 +29,6 @@ void test_muc_remove_invite(void **state)
     gboolean invite_exists = muc_invites_include(room);
 
     assert_false(invite_exists);
+
+    muc_close();
 }