diff options
author | Debarshi Ray <debarshir@gnome.org> | 2016-09-23 17:15:49 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2016-09-26 20:15:35 +0200 |
commit | 82f1c4e60bf462f89a33b1efe3d3e74ba024e85a (patch) | |
tree | 07ca6fab00b3214d334217640fd9030e43e8551c | |
parent | d0cd48510141dd8195348720996d6bdc82bd1f12 (diff) | |
download | libgdata-82f1c4e60bf462f89a33b1efe3d3e74ba024e85a.tar.gz |
tests: GDATA_LINK_PARENT links don't have a title in Drive v2
... so there is nothing to compare with.
https://bugzilla.gnome.org/show_bug.cgi?id=684920
-rw-r--r-- | gdata/tests/documents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c index 2d384b08..902d32b9 100644 --- a/gdata/tests/documents.c +++ b/gdata/tests/documents.c @@ -3,6 +3,7 @@ * GData Client * Copyright (C) Thibault Saunier 2009 <saunierthibault@gmail.com> * Copyright (C) Philip Withnall 2010 <philip@tecnocode.co.uk> + * Copyright (C) Red Hat, Inc. 2015, 2016 * * GData Client is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -46,8 +47,7 @@ check_document_is_in_folder (GDataDocumentsDocument *document, GDataDocumentsFol links != NULL; links = links->next) { GDataLink *_link = GDATA_LINK (links->data); - if (strcmp (gdata_link_get_uri (_link), gdata_link_get_uri (folder_self_link)) == 0 && - strcmp (gdata_link_get_title (_link), gdata_entry_get_title (GDATA_ENTRY (folder))) == 0) { + if (strcmp (gdata_link_get_uri (_link), gdata_link_get_uri (folder_self_link)) == 0) { g_assert (found_folder_category == FALSE); found_folder_category = TRUE; } |