diff options
Diffstat (limited to 'server/tests/api/users/users-multiple-servers.ts')
-rw-r--r-- | server/tests/api/users/users-multiple-servers.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/tests/api/users/users-multiple-servers.ts b/server/tests/api/users/users-multiple-servers.ts index c46c2b7d7..0510b2de9 100644 --- a/server/tests/api/users/users-multiple-servers.ts +++ b/server/tests/api/users/users-multiple-servers.ts | |||
@@ -57,7 +57,12 @@ describe('Test users with multiple servers', function () { | |||
57 | username: 'user1', | 57 | username: 'user1', |
58 | password: 'password' | 58 | password: 'password' |
59 | } | 59 | } |
60 | const res = await createUser(servers[ 0 ].url, servers[ 0 ].accessToken, user.username, user.password) | 60 | const res = await createUser({ |
61 | url: servers[ 0 ].url, | ||
62 | accessToken: servers[ 0 ].accessToken, | ||
63 | username: user.username, | ||
64 | password: user.password | ||
65 | }) | ||
61 | userId = res.body.user.id | 66 | userId = res.body.user.id |
62 | userAccessToken = await userLogin(servers[ 0 ], user) | 67 | userAccessToken = await userLogin(servers[ 0 ], user) |
63 | } | 68 | } |