aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/users.ts')
-rw-r--r--server/tests/api/users.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users.ts b/server/tests/api/users.ts
index 104d783bb..04c68d4ea 100644
--- a/server/tests/api/users.ts
+++ b/server/tests/api/users.ts
@@ -319,9 +319,9 @@ describe('Test users', function () {
319 }) 319 })
320 320
321 it('Should be able to update another user', async function () { 321 it('Should be able to update another user', async function () {
322 await updateUser(server.url, userId, server.accessToken, 'updated2@example.com', 42 ) 322 await updateUser(server.url, userId, accessToken, 'updated2@example.com', 42)
323 323
324 const res = await getUserInformation(server.url, server.accessToken, userId) 324 const res = await getUserInformation(server.url, accessToken, userId)
325 const user = res.body 325 const user = res.body
326 326
327 expect(user.username).to.equal('user_1') 327 expect(user.username).to.equal('user_1')