diff options
Diffstat (limited to 'server/tests/api/check-params/video-imports.ts')
-rw-r--r-- | server/tests/api/check-params/video-imports.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/server/tests/api/check-params/video-imports.ts b/server/tests/api/check-params/video-imports.ts index 4439810e8..5cdd0d925 100644 --- a/server/tests/api/check-params/video-imports.ts +++ b/server/tests/api/check-params/video-imports.ts | |||
@@ -88,7 +88,13 @@ describe('Test video imports API validator', function () { | |||
88 | 88 | ||
89 | it('Should fail with nothing', async function () { | 89 | it('Should fail with nothing', async function () { |
90 | const fields = {} | 90 | const fields = {} |
91 | await makePostBodyRequest({ url: server.url, path, token: server.accessToken, fields }) | 91 | await makePostBodyRequest({ |
92 | url: server.url, | ||
93 | path, | ||
94 | token: server.accessToken, | ||
95 | fields, | ||
96 | expectedStatus: HttpStatusCode.BAD_REQUEST_400 | ||
97 | }) | ||
92 | }) | 98 | }) |
93 | 99 | ||
94 | it('Should fail without a target url', async function () { | 100 | it('Should fail without a target url', async function () { |