Fixed functional tests
authorSergio Villar Senin <svillar@igalia.com>
Wed, 28 Oct 2009 09:19:39 +0000 (10:19 +0100)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 28 Oct 2009 12:29:42 +0000 (13:29 +0100)
tests/check_account-mgr.c
tests/check_update-account.c

index 1cd8d08..5d79976 100644 (file)
@@ -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");
index 1a6f00d..0cdd247 100644 (file)
@@ -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));