Skip to content

Commit

Permalink
Set up Google Drive V3 in acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ifrost committed Oct 28, 2017
1 parent dec17cc commit 87ac294
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/acceptance/helper/server/fake-google-drive.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
};
},

Expand All @@ -94,7 +94,7 @@ define(function(require) {
},

file_list: {
url: /drive\/v2\/files\/$/,
url: /drive\/v3\/files\/$/,
method: 'GET',
value: function() {
var files = [];
Expand All @@ -104,7 +104,7 @@ define(function(require) {
}
}
return JSON.stringify({
items: files
files: files
});
}
}
Expand Down

0 comments on commit 87ac294

Please sign in to comment.