[evolution-data-server/openismus-work] test-client-preserve-uid: Check for E_BOOK_CLIENT_ERROR_CONTACT_ID_ALREADY_EXISTS



commit d4aee15217e09720466900ed9aded69ea2bf3f9f
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Tue Jan 22 14:55:44 2013 +0900

    test-client-preserve-uid: Check for E_BOOK_CLIENT_ERROR_CONTACT_ID_ALREADY_EXISTS

 tests/libebook/client/test-client-preserve-uid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libebook/client/test-client-preserve-uid.c b/tests/libebook/client/test-client-preserve-uid.c
index 76db4d1..e19009c 100644
--- a/tests/libebook/client/test-client-preserve-uid.c
+++ b/tests/libebook/client/test-client-preserve-uid.c
@@ -77,7 +77,7 @@ test_uid_conflict (ETestServerFixture *fixture,
 
   if (!e_book_client_add_contact_sync (book_client, contact, NULL, NULL, &error))
     {
-      g_assert (g_error_matches (error, E_CLIENT_ERROR, E_CLIENT_ERROR_QUERY_REFUSED));
+      g_assert (g_error_matches (error, E_BOOK_CLIENT_ERROR, E_BOOK_CLIENT_ERROR_CONTACT_ID_ALREADY_EXISTS));
       g_error_free (error);
     }
   else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]