mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
update test for GridFS
This commit is contained in:
parent
3be69a8cb7
commit
73bb81de8f
1 changed files with 6 additions and 3 deletions
|
@ -1152,9 +1152,12 @@ async function insertHimawari(opts) {
|
|||
}
|
||||
|
||||
async function insertDriveFile(opts) {
|
||||
return await db.get('drive_files').insert(Object.assign({
|
||||
name: 'strawberry-pasta.png'
|
||||
}, opts));
|
||||
return await db.get('drive_files.files').insert({
|
||||
length: opts.datasize,
|
||||
metadata: Object.assign({
|
||||
name: 'strawberry-pasta.png'
|
||||
}, opts)
|
||||
});
|
||||
}
|
||||
|
||||
async function insertDriveFolder(opts) {
|
||||
|
|
Loading…
Reference in a new issue