diff options
Diffstat (limited to 'server/tests/api/check-params/abuses.ts')
-rw-r--r-- | server/tests/api/check-params/abuses.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/abuses.ts b/server/tests/api/check-params/abuses.ts index c4b051723..bc2cc640f 100644 --- a/server/tests/api/check-params/abuses.ts +++ b/server/tests/api/check-params/abuses.ts | |||
@@ -269,7 +269,7 @@ describe('Test abuses API validators', function () { | |||
269 | await makePostBodyRequest({ url: server.url, path, token: userToken, fields }) | 269 | await makePostBodyRequest({ url: server.url, path, token: userToken, fields }) |
270 | }) | 270 | }) |
271 | 271 | ||
272 | it('Should succeed with the corret parameters (advanced)', async function () { | 272 | it('Should succeed with the correct parameters (advanced)', async function () { |
273 | const fields: AbuseCreate = { | 273 | const fields: AbuseCreate = { |
274 | video: { | 274 | video: { |
275 | id: server.store.videoCreated.id, | 275 | id: server.store.videoCreated.id, |
@@ -333,7 +333,7 @@ describe('Test abuses API validators', function () { | |||
333 | await command.addMessage({ token: userToken, abuseId, message: 'a'.repeat(5000), expectedStatus: HttpStatusCode.BAD_REQUEST_400 }) | 333 | await command.addMessage({ token: userToken, abuseId, message: 'a'.repeat(5000), expectedStatus: HttpStatusCode.BAD_REQUEST_400 }) |
334 | }) | 334 | }) |
335 | 335 | ||
336 | it('Should suceed with the correct params', async function () { | 336 | it('Should succeed with the correct params', async function () { |
337 | const res = await command.addMessage({ token: userToken, abuseId, message }) | 337 | const res = await command.addMessage({ token: userToken, abuseId, message }) |
338 | messageId = res.body.abuseMessage.id | 338 | messageId = res.body.abuseMessage.id |
339 | }) | 339 | }) |