aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-09 21:44:45 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-09 21:44:45 +0200
commit68a3b9f2aacb0225ae8b883b561b144bac339cbd (patch)
treee3d75b7952073ba4b2ef4b62ed57ded9f3cf0f1e /server/tests/api/users.js
parent45b81debd6d6647980da7ad5a984bafa37cb79ea (diff)
downloadPeerTube-68a3b9f2aacb0225ae8b883b561b144bac339cbd.tar.gz
PeerTube-68a3b9f2aacb0225ae8b883b561b144bac339cbd.tar.zst
PeerTube-68a3b9f2aacb0225ae8b883b561b144bac339cbd.zip
Server: delete user with the id and not the username
Diffstat (limited to 'server/tests/api/users.js')
-rw-r--r--server/tests/api/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/users.js b/server/tests/api/users.js
index 6f9eef181..a2557d2ab 100644
--- a/server/tests/api/users.js
+++ b/server/tests/api/users.js
@@ -235,7 +235,7 @@ describe('Test users', function () {
235 }) 235 })
236 236
237 it('Should be able to remove this user', function (done) { 237 it('Should be able to remove this user', function (done) {
238 usersUtils.removeUser(server.url, accessToken, 'user_1', done) 238 usersUtils.removeUser(server.url, userId, accessToken, done)
239 }) 239 })
240 240
241 it('Should not be able to login with this user', function (done) { 241 it('Should not be able to login with this user', function (done) {