mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 11:27:31 -07:00
[Test] Fix test
This commit is contained in:
parent
0d34dedae0
commit
691b5e5484
1 changed files with 3 additions and 1 deletions
|
@ -222,7 +222,9 @@ describe('API', () => {
|
|||
|
||||
it('ファイルを添付できる', () => new Promise(async (done) => {
|
||||
const me = await insertSakurako();
|
||||
const file = await insertDriveFile();
|
||||
const file = await insertDriveFile({
|
||||
user_id: me._id
|
||||
});
|
||||
request('/posts/create', {
|
||||
media_ids: [file._id.toString()]
|
||||
}, me).then(res => {
|
||||
|
|
Loading…
Reference in a new issue