From 19e6c612442fd506ef24ff6f7b259c3a4b5e993a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 27 Oct 2018 06:29:12 -0400 Subject: [PATCH] add new test for queue --- test/user.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/test/user.js b/test/user.js index 650c4215a7..7c49813c82 100644 --- a/test/user.js +++ b/test/user.js @@ -1483,6 +1483,34 @@ describe('User', function () { }); }); + it('should fail to add user to queue if username is taken', function (done) { + helpers.registerUser({ + username: 'rejectme', + password: '123456', + 'password-confirm': '123456', + email: '