From f1761b134a44a658a0c91108c83f30fa1b66921c Mon Sep 17 00:00:00 2001 From: xclaesse Date: Mon, 13 Oct 2008 07:54:29 +0000 Subject: rename remove_account_from_gconf to destroy_test_account and destroy the account object in it git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1555 4ee84921-47dd-4033-b63a-18d7a039a3e4 --- tests/check-empathy-chatroom.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/check-empathy-chatroom.c') diff --git a/tests/check-empathy-chatroom.c b/tests/check-empathy-chatroom.c index f68803122..e0cb685cb 100644 --- a/tests/check-empathy-chatroom.c +++ b/tests/check-empathy-chatroom.c @@ -19,12 +19,6 @@ 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 (account); - return chatroom; } @@ -42,6 +36,7 @@ START_TEST (test_empathy_chatroom_new) fail_if (auto_connect); fail_if (favorite); + destroy_test_account (empathy_chatroom_get_account (chatroom)); g_object_unref (chatroom); } END_TEST @@ -114,6 +109,7 @@ START_TEST (test_favorite_and_auto_connect) fail_if (auto_connect); fail_if (favorite); + destroy_test_account (empathy_chatroom_get_account (chatroom)); g_object_unref (chatroom); } END_TEST -- cgit v1.2.3