diff options
Diffstat (limited to 'server/tests/api/activitypub/fetch.ts')
-rw-r--r-- | server/tests/api/activitypub/fetch.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/activitypub/fetch.ts b/server/tests/api/activitypub/fetch.ts index c1af23016..162f3ec83 100644 --- a/server/tests/api/activitypub/fetch.ts +++ b/server/tests/api/activitypub/fetch.ts | |||
@@ -4,7 +4,6 @@ import 'mocha' | |||
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { | 5 | import { |
6 | cleanupTests, | 6 | cleanupTests, |
7 | createUser, | ||
8 | doubleFollow, | 7 | doubleFollow, |
9 | flushAndRunMultipleServers, | 8 | flushAndRunMultipleServers, |
10 | getVideosListSort, | 9 | getVideosListSort, |
@@ -32,7 +31,7 @@ describe('Test ActivityPub fetcher', function () { | |||
32 | 31 | ||
33 | const user = { username: 'user1', password: 'password' } | 32 | const user = { username: 'user1', password: 'password' } |
34 | for (const server of servers) { | 33 | for (const server of servers) { |
35 | await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) | 34 | await server.usersCommand.create({ username: user.username, password: user.password }) |
36 | } | 35 | } |
37 | 36 | ||
38 | const userAccessToken = await servers[0].loginCommand.getAccessToken(user) | 37 | const userAccessToken = await servers[0].loginCommand.getAccessToken(user) |