diff options
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/contact-form.ts | 2 | ||||
-rw-r--r-- | server/tests/api/check-params/video-comments.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/contact-form.ts b/server/tests/api/check-params/contact-form.ts index 5539266b8..4eed1661a 100644 --- a/server/tests/api/check-params/contact-form.ts +++ b/server/tests/api/check-params/contact-form.ts | |||
@@ -69,7 +69,7 @@ describe('Test contact form API validators', function () { | |||
69 | }) | 69 | }) |
70 | 70 | ||
71 | it('Should accept a contact form with the correct parameters', async function () { | 71 | it('Should accept a contact form with the correct parameters', async function () { |
72 | await command.send({ ...defaultBody }) | 72 | await command.send(defaultBody) |
73 | }) | 73 | }) |
74 | 74 | ||
75 | after(async function () { | 75 | after(async function () { |
diff --git a/server/tests/api/check-params/video-comments.ts b/server/tests/api/check-params/video-comments.ts index ff94645cb..0f8c81392 100644 --- a/server/tests/api/check-params/video-comments.ts +++ b/server/tests/api/check-params/video-comments.ts | |||
@@ -278,7 +278,7 @@ describe('Test video comments API validator', function () { | |||
278 | let commentToDelete: number | 278 | let commentToDelete: number |
279 | 279 | ||
280 | { | 280 | { |
281 | const created = await server.commentsCommand.createThread({ videoId: video.uuid, text: 'hello' }) | 281 | const created = await server.commentsCommand.createThread({ videoId: video.uuid, token: userAccessToken, text: 'hello' }) |
282 | commentToDelete = created.id | 282 | commentToDelete = created.id |
283 | } | 283 | } |
284 | 284 | ||