]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/users.js
Server: delete user with the id and not the username
[github/Chocobozzz/PeerTube.git] / server / tests / api / users.js
index 6f9eef181ee5772f8f022c36ff3f305890626771..a2557d2aba6cb67ef2e9e1616a289acadc1c4333 100644 (file)
@@ -235,7 +235,7 @@ describe('Test users', function () {
   })
 
   it('Should be able to remove this user', function (done) {
-    usersUtils.removeUser(server.url, accessToken, 'user_1', done)
+    usersUtils.removeUser(server.url, userId, accessToken, done)
   })
 
   it('Should not be able to login with this user', function (done) {