test - fix insertDriveFile (use GridFS filename)

This commit is contained in:
otofune 2017-11-07 09:59:58 +09:00
parent 696cd3b0e3
commit 16bed0ca03

View File

@ -1155,9 +1155,8 @@ function insertHimawari(opts) {
function insertDriveFile(opts) {
return db.get('drive_files.files').insert({
length: opts.datasize,
metadata: Object.assign({
name: 'strawberry-pasta.png'
}, opts)
filename: 'strawberry-pasta.png',
metadata: opts
});
}