diff options
Diffstat (limited to 'server/tests/api/check-params/video-abuses.ts')
-rw-r--r-- | server/tests/api/check-params/video-abuses.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/check-params/video-abuses.ts b/server/tests/api/check-params/video-abuses.ts index 3b8f5f14d..7edc8e39d 100644 --- a/server/tests/api/check-params/video-abuses.ts +++ b/server/tests/api/check-params/video-abuses.ts | |||
@@ -41,7 +41,7 @@ describe('Test video abuses API validators', function () { | |||
41 | 41 | ||
42 | const username = 'user1' | 42 | const username = 'user1' |
43 | const password = 'my super password' | 43 | const password = 'my super password' |
44 | await createUser(server.url, server.accessToken, username, password) | 44 | await createUser({ url: server.url, accessToken: server.accessToken, username: username, password: password }) |
45 | userAccessToken = await userLogin(server, { username, password }) | 45 | userAccessToken = await userLogin(server, { username, password }) |
46 | 46 | ||
47 | const res = await uploadVideo(server.url, server.accessToken, {}) | 47 | const res = await uploadVideo(server.url, server.accessToken, {}) |