diff options
Diffstat (limited to 'server/tests/api/check-params/abuses.ts')
-rw-r--r-- | server/tests/api/check-params/abuses.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/abuses.ts b/server/tests/api/check-params/abuses.ts index bc2cc640f..7d8347412 100644 --- a/server/tests/api/check-params/abuses.ts +++ b/server/tests/api/check-params/abuses.ts | |||
@@ -163,7 +163,7 @@ describe('Test abuses API validators', function () { | |||
163 | 163 | ||
164 | it('Should fail with a wrong video', async function () { | 164 | it('Should fail with a wrong video', async function () { |
165 | const fields = { video: { id: 'blabla' }, reason: 'my super reason' } | 165 | const fields = { video: { id: 'blabla' }, reason: 'my super reason' } |
166 | await makePostBodyRequest({ url: server.url, path: path, token: userToken, fields }) | 166 | await makePostBodyRequest({ url: server.url, path, token: userToken, fields }) |
167 | }) | 167 | }) |
168 | 168 | ||
169 | it('Should fail with an unknown video', async function () { | 169 | it('Should fail with an unknown video', async function () { |
@@ -179,7 +179,7 @@ describe('Test abuses API validators', function () { | |||
179 | 179 | ||
180 | it('Should fail with a wrong comment', async function () { | 180 | it('Should fail with a wrong comment', async function () { |
181 | const fields = { comment: { id: 'blabla' }, reason: 'my super reason' } | 181 | const fields = { comment: { id: 'blabla' }, reason: 'my super reason' } |
182 | await makePostBodyRequest({ url: server.url, path: path, token: userToken, fields }) | 182 | await makePostBodyRequest({ url: server.url, path, token: userToken, fields }) |
183 | }) | 183 | }) |
184 | 184 | ||
185 | it('Should fail with an unknown comment', async function () { | 185 | it('Should fail with an unknown comment', async function () { |
@@ -195,7 +195,7 @@ describe('Test abuses API validators', function () { | |||
195 | 195 | ||
196 | it('Should fail with a wrong account', async function () { | 196 | it('Should fail with a wrong account', async function () { |
197 | const fields = { account: { id: 'blabla' }, reason: 'my super reason' } | 197 | const fields = { account: { id: 'blabla' }, reason: 'my super reason' } |
198 | await makePostBodyRequest({ url: server.url, path: path, token: userToken, fields }) | 198 | await makePostBodyRequest({ url: server.url, path, token: userToken, fields }) |
199 | }) | 199 | }) |
200 | 200 | ||
201 | it('Should fail with an unknown account', async function () { | 201 | it('Should fail with an unknown account', async function () { |