summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2016-09-21 19:34:12 +0200
committerDebarshi Ray <debarshir@gnome.org>2018-08-13 17:47:29 +0200
commit246a432b3f6839b8af6373ee1e881c88bae9641c (patch)
tree00eb3529b926d73a596d98c00fe669bf51366e59
parenta25c9105ed85e4902a82d7703f112941dd3150a9 (diff)
downloadlibgdata-246a432b3f6839b8af6373ee1e881c88bae9641c.tar.gz
tests: GDataDocumentsSpreadsheet is not meant for ODS files in Drive v2
https://bugzilla.gnome.org/show_bug.cgi?id=684920
-rw-r--r--gdata/tests/documents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c
index 7572e739..044851c3 100644
--- a/gdata/tests/documents.c
+++ b/gdata/tests/documents.c
@@ -300,14 +300,14 @@ _set_up_temp_document (GDataDocumentsEntry *entry, GDataService *service, GFile
static void
set_up_temp_document_spreadsheet (TempDocumentData *data, gconstpointer service)
{
- GDataDocumentsSpreadsheet *document;
+ GDataDocumentsDocument *document;
gchar *document_file_path;
GFile *document_file;
gdata_test_mock_server_start_trace (mock_server, "setup-temp-document-spreadsheet");
/* Create a document */
- document = gdata_documents_spreadsheet_new (NULL);
+ document = gdata_documents_document_new (NULL);
gdata_entry_set_title (GDATA_ENTRY (document), "Temporary Document (Spreadsheet)");
document_file_path = g_test_build_filename (G_TEST_DIST, "test.ods", NULL);