[evolution-data-server/wip/offline-cache] Correct failing tests after change of "Custom-4" UID to "custom-4" (non-capital 'C')



commit 2d9e5dbb9e5ab99db47bed269423f93673b41d04
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 17 09:52:15 2017 +0200

    Correct failing tests after change of "Custom-4" UID to "custom-4" (non-capital 'C')

 tests/libebook/data/vcards/custom-4.vcf      |    2 +-
 tests/libedata-book/test-book-meta-backend.c |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/libebook/data/vcards/custom-4.vcf b/tests/libebook/data/vcards/custom-4.vcf
index 5b2ac99..3f1b3b4 100644
--- a/tests/libebook/data/vcards/custom-4.vcf
+++ b/tests/libebook/data/vcards/custom-4.vcf
@@ -1,5 +1,5 @@
 BEGIN:VCARD
-UID:custom-4
+UID:Custom-4
 REV:0
 FN:Big Bobby Brown
 TEL;TYPE=work,pref:+9999999
diff --git a/tests/libedata-book/test-book-meta-backend.c b/tests/libedata-book/test-book-meta-backend.c
index a409900..69dedaf 100644
--- a/tests/libedata-book/test-book-meta-backend.c
+++ b/tests/libedata-book/test-book-meta-backend.c
@@ -542,8 +542,8 @@ e_book_meta_backend_test_init (EBookMetaBackendTest *test_backend)
        ebmb_test_add_test_case (test_backend, "custom-1");
        ebmb_test_add_test_case (test_backend, "custom-2");
        ebmb_test_add_test_case (test_backend, "custom-3");
-       ebmb_test_add_test_case (test_backend, "custom-4");
        ebmb_test_add_test_case (test_backend, "custom-5");
+       ebmb_test_add_test_case (test_backend, "custom-6");
 
        e_book_meta_backend_test_reset_counters (test_backend);
 
@@ -1217,10 +1217,10 @@ test_get_contact (EBookMetaBackend *meta_backend)
        book_cache = e_book_meta_backend_ref_cache (meta_backend);
        g_assert_nonnull (book_cache);
 
-       e_book_cache_remove_contact (book_cache, "custom-4", E_CACHE_IS_ONLINE, NULL, &error);
-       g_assert_no_error (error);
        e_book_cache_remove_contact (book_cache, "custom-5", E_CACHE_IS_ONLINE, NULL, &error);
        g_assert_no_error (error);
+       e_book_cache_remove_contact (book_cache, "custom-6", E_CACHE_IS_ONLINE, NULL, &error);
+       g_assert_no_error (error);
 
        /* Non-existing */
        contact = E_BOOK_BACKEND_GET_CLASS (meta_backend)->get_contact_sync (E_BOOK_BACKEND (meta_backend),
@@ -1361,8 +1361,8 @@ test_refresh (EBookMetaBackend *meta_backend)
 
        e_book_meta_backend_test_reset_counters (test_backend);
 
-       ebmb_test_remove_component (test_backend, "custom-4");
        ebmb_test_remove_component (test_backend, "custom-5");
+       ebmb_test_remove_component (test_backend, "custom-6");
 
        /* Sync with server content */
        e_book_meta_backend_test_call_refresh (meta_backend);


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