diff options
Diffstat (limited to 'server/tests/api/moderation/abuses.ts')
-rw-r--r-- | server/tests/api/moderation/abuses.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/moderation/abuses.ts b/server/tests/api/moderation/abuses.ts index e428cf1a8..d7462f38f 100644 --- a/server/tests/api/moderation/abuses.ts +++ b/server/tests/api/moderation/abuses.ts | |||
@@ -17,7 +17,6 @@ import { | |||
17 | setAccessTokensToServers, | 17 | setAccessTokensToServers, |
18 | uploadVideo, | 18 | uploadVideo, |
19 | uploadVideoAndGetId, | 19 | uploadVideoAndGetId, |
20 | userLogin, | ||
21 | waitJobs | 20 | waitJobs |
22 | } from '@shared/extra-utils' | 21 | } from '@shared/extra-utils' |
23 | import { AbuseMessage, AbusePredefinedReasonsString, AbuseState, AdminAbuse, UserAbuse } from '@shared/models' | 22 | import { AbuseMessage, AbusePredefinedReasonsString, AbuseState, AdminAbuse, UserAbuse } from '@shared/models' |
@@ -280,7 +279,7 @@ describe('Test abuses', function () { | |||
280 | // register a second user to have two reporters/reportees | 279 | // register a second user to have two reporters/reportees |
281 | const user = { username: 'user2', password: 'password' } | 280 | const user = { username: 'user2', password: 'password' } |
282 | await createUser({ url: servers[0].url, accessToken: servers[0].accessToken, ...user }) | 281 | await createUser({ url: servers[0].url, accessToken: servers[0].accessToken, ...user }) |
283 | const userAccessToken = await userLogin(servers[0], user) | 282 | const userAccessToken = await servers[0].loginCommand.getAccessToken(user) |
284 | 283 | ||
285 | // upload a third video via this user | 284 | // upload a third video via this user |
286 | const video3Attributes = { | 285 | const video3Attributes = { |