mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-31 17:36:22 +00:00
Close muc after test
This commit is contained in:
@@ -15,6 +15,8 @@ void test_muc_add_invite(void **state)
|
|||||||
gboolean invite_exists = muc_invites_include(room);
|
gboolean invite_exists = muc_invites_include(room);
|
||||||
|
|
||||||
assert_true(invite_exists);
|
assert_true(invite_exists);
|
||||||
|
|
||||||
|
muc_close();
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_muc_remove_invite(void **state)
|
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);
|
gboolean invite_exists = muc_invites_include(room);
|
||||||
|
|
||||||
assert_false(invite_exists);
|
assert_false(invite_exists);
|
||||||
|
|
||||||
|
muc_close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user