summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-10-13 07:53:50 +0000
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-10-13 07:53:50 +0000
commit41a47822d966e14ce52e9914389c1f93d8d8ed11 (patch)
treedea150236800e53f89a79c52bea7964cedfd32b8 /tests
parent15175146053feb4e920adf921fca513981299b24 (diff)
downloadempathy-41a47822d966e14ce52e9914389c1f93d8d8ed11.tar.gz
check-empathy-chatroom: unref and destroy the account
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1544 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'tests')
-rw-r--r--tests/check-empathy-chatroom.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/check-empathy-chatroom.c b/tests/check-empathy-chatroom.c
index 5a696e7aa..fca2f1286 100644
--- a/tests/check-empathy-chatroom.c
+++ b/tests/check-empathy-chatroom.c
@@ -21,7 +21,12 @@ create_chatroom (void)
chatroom = empathy_chatroom_new (account);
fail_if (chatroom == NULL);
+ /* destroy the account as we don't have to add it to the accounts
+ * configuration */
+ /* FIXME: the account is not really removed */
+ mc_account_delete (account);
g_object_unref (profile);
+ g_object_unref (account);
return chatroom;
}
@@ -41,7 +46,6 @@ START_TEST (test_empathy_chatroom_new)
fail_if (favorite);
g_object_unref (chatroom);
- /* FIXME: unref the account ? */
}
END_TEST
@@ -114,7 +118,6 @@ START_TEST (test_favorite_and_auto_connect)
fail_if (favorite);
g_object_unref (chatroom);
- /* FIXME: unref the account ? */
}
END_TEST