mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-01 16:29:56 +09:00
[Test] Fix test
This commit is contained in:
@ -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 => {
|
||||
|
Reference in New Issue
Block a user