diff options
Diffstat (limited to 'server/tests/api/check-params/redundancy.ts')
-rw-r--r-- | server/tests/api/check-params/redundancy.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/check-params/redundancy.ts b/server/tests/api/check-params/redundancy.ts index 2e10e378a..d93022c32 100644 --- a/server/tests/api/check-params/redundancy.ts +++ b/server/tests/api/check-params/redundancy.ts | |||
@@ -8,7 +8,6 @@ import { | |||
8 | checkBadSortPagination, | 8 | checkBadSortPagination, |
9 | checkBadStartPagination, | 9 | checkBadStartPagination, |
10 | cleanupTests, | 10 | cleanupTests, |
11 | createUser, | ||
12 | doubleFollow, | 11 | doubleFollow, |
13 | flushAndRunMultipleServers, | 12 | flushAndRunMultipleServers, |
14 | getVideo, | 13 | getVideo, |
@@ -43,7 +42,7 @@ describe('Test server redundancy API validators', function () { | |||
43 | password: 'password' | 42 | password: 'password' |
44 | } | 43 | } |
45 | 44 | ||
46 | await createUser({ url: servers[0].url, accessToken: servers[0].accessToken, username: user.username, password: user.password }) | 45 | await servers[0].usersCommand.create({ username: user.username, password: user.password }) |
47 | userAccessToken = await servers[0].loginCommand.getAccessToken(user) | 46 | userAccessToken = await servers[0].loginCommand.getAccessToken(user) |
48 | 47 | ||
49 | videoIdLocal = (await uploadVideoAndGetId({ server: servers[0], videoName: 'video' })).id | 48 | videoIdLocal = (await uploadVideoAndGetId({ server: servers[0], videoName: 'video' })).id |