summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2017-05-17 09:52:15 +0200
committerMilan Crha <mcrha@redhat.com>2017-05-17 09:52:15 +0200
commit2d9e5dbb9e5ab99db47bed269423f93673b41d04 (patch)
tree44b0cd748604b4cbd7a869509e0a0d7b5eece7b5
parentaf76ef7f4e0ac0deb6944e05617b487c4249619e (diff)
downloadevolution-data-server-2d9e5dbb9e5ab99db47bed269423f93673b41d04.tar.gz
Correct failing tests after change of "Custom-4" UID to "custom-4" (non-capital 'C')
-rw-r--r--tests/libebook/data/vcards/custom-4.vcf2
-rw-r--r--tests/libedata-book/test-book-meta-backend.c8
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 5b2ac99ef..3f1b3b4a6 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 a40990041..69dedaffc 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);