McAccount *account;
EmpathyChatroom *chatroom;
- account = create_test_account ();
+ account = get_test_account ();
chatroom = empathy_chatroom_new (account);
fail_if (chatroom == NULL);
fail_if (auto_connect);
fail_if (favorite);
- destroy_test_account (empathy_chatroom_get_account (chatroom));
+ g_object_unref (empathy_chatroom_get_account (chatroom));
g_object_unref (chatroom);
}
END_TEST
fail_if (auto_connect);
fail_if (favorite);
- destroy_test_account (empathy_chatroom_get_account (chatroom));
+ g_object_unref (empathy_chatroom_get_account (chatroom));
g_object_unref (chatroom);
}
END_TEST