From 87ac29485e6307110d07471516e1ecfc2d4bd067 Mon Sep 17 00:00:00 2001 From: Piotr Jamroz Date: Sun, 29 Oct 2017 00:19:49 +0100 Subject: [PATCH] Set up Google Drive V3 in acceptance tests --- test/acceptance/helper/server/fake-google-drive.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/acceptance/helper/server/fake-google-drive.js b/test/acceptance/helper/server/fake-google-drive.js index dab829c7..dfa82dd7 100644 --- a/test/acceptance/helper/server/fake-google-drive.js +++ b/test/acceptance/helper/server/fake-google-drive.js @@ -63,12 +63,12 @@ define(function(require) { kind: 'drive#file', parents: [], explicitlyTrashed: false, + trashed: false, userPermission: { role: 'owner' }, - title: file.name, - spaces: ['drive'], - labels: [] + name: file.name, + spaces: ['drive'] }; }, @@ -94,7 +94,7 @@ define(function(require) { }, file_list: { - url: /drive\/v2\/files\/$/, + url: /drive\/v3\/files\/$/, method: 'GET', value: function() { var files = []; @@ -104,7 +104,7 @@ define(function(require) { } } return JSON.stringify({ - items: files + files: files }); } }