From a530c03c40eb68ed1e2b60dbc370dc81d4eb45eb Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 28 Oct 2009 10:19:39 +0100 Subject: [PATCH] Fixed functional tests --- tests/check_account-mgr.c | 4 ++-- tests/check_update-account.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/check_account-mgr.c b/tests/check_account-mgr.c index 1cd8d08..5d79976 100644 --- a/tests/check_account-mgr.c +++ b/tests/check_account-mgr.c @@ -132,13 +132,13 @@ START_TEST (test_add_exists_remove_account_regular) /* Test 2b */ gchar *account_name_from_recipient; - account_name_from_recipient = modest_utils_get_account_name_from_recipient ("user@email.com"); + account_name_from_recipient = modest_utils_get_account_name_from_recipient ("user@email.com", NULL); fail_unless (account_name_from_recipient != NULL, "modest_utils_get_account_name_from_recipient failed: "\ "From user@email.com should match account"); /* Test 2c */ - account_name_from_recipient = modest_utils_get_account_name_from_recipient ("egg@egg.com"); + account_name_from_recipient = modest_utils_get_account_name_from_recipient ("egg@egg.com", NULL); fail_unless (account_name_from_recipient == NULL, "modest_utils_get_account_name_from_recipient failed: "\ "From egg@egg.com shouldn't match account"); diff --git a/tests/check_update-account.c b/tests/check_update-account.c index 1a6f00d..0cdd247 100644 --- a/tests/check_update-account.c +++ b/tests/check_update-account.c @@ -98,7 +98,7 @@ func (gpointer_data) G_CALLBACK (on_progress_changed), queue); modest_mail_operation_update_account (mail_op, modest_account_mgr_get_default_account (acc_mgr), - TRUE, FALSE, NULL, update_account_cb, queue); + TRUE, FALSE, update_account_cb, queue); modest_mail_operation_queue_add (queue, mail_op); g_object_unref (G_OBJECT (mail_op)); -- 1.7.9.5