diff options
Diffstat (limited to 'server/tests/api/search')
-rw-r--r-- | server/tests/api/search/search-activitypub-video-channels.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/search/search-activitypub-video-channels.ts b/server/tests/api/search/search-activitypub-video-channels.ts index a411e973b..682bd262a 100644 --- a/server/tests/api/search/search-activitypub-video-channels.ts +++ b/server/tests/api/search/search-activitypub-video-channels.ts | |||
@@ -40,7 +40,7 @@ describe('Test a ActivityPub video channels search', function () { | |||
40 | await setAccessTokensToServers(servers) | 40 | await setAccessTokensToServers(servers) |
41 | 41 | ||
42 | { | 42 | { |
43 | await createUser(servers[0].url, servers[0].accessToken, 'user1_server1', 'password') | 43 | await createUser({ url: servers[ 0 ].url, accessToken: servers[ 0 ].accessToken, username: 'user1_server1', password: 'password' }) |
44 | const channel = { | 44 | const channel = { |
45 | name: 'channel1_server1', | 45 | name: 'channel1_server1', |
46 | displayName: 'Channel 1 server 1' | 46 | displayName: 'Channel 1 server 1' |
@@ -50,7 +50,7 @@ describe('Test a ActivityPub video channels search', function () { | |||
50 | 50 | ||
51 | { | 51 | { |
52 | const user = { username: 'user1_server2', password: 'password' } | 52 | const user = { username: 'user1_server2', password: 'password' } |
53 | await createUser(servers[1].url, servers[1].accessToken, user.username, user.password) | 53 | await createUser({ url: servers[ 1 ].url, accessToken: servers[ 1 ].accessToken, username: user.username, password: user.password }) |
54 | userServer2Token = await userLogin(servers[1], user) | 54 | userServer2Token = await userLogin(servers[1], user) |
55 | 55 | ||
56 | const channel = { | 56 | const channel = { |