aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-06 16:35:40 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-06 17:28:20 +0200
commit77a5501f6413aff2f2a626b929dfda486fa9a3e6 (patch)
tree9f286d1b5a3bede13ea746530c8210c49a064b39 /server/tests/api/users.ts
parent5c98d3bf078852043cbdd582c01e3dc4f4b5b79f (diff)
downloadPeerTube-77a5501f6413aff2f2a626b929dfda486fa9a3e6.tar.gz
PeerTube-77a5501f6413aff2f2a626b929dfda486fa9a3e6.tar.zst
PeerTube-77a5501f6413aff2f2a626b929dfda486fa9a3e6.zip
Fix tests and user quota
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')