From: Chocobozzz Date: Wed, 27 Apr 2016 20:17:55 +0000 (+0200) Subject: Don't forget to test the client stuffs X-Git-Tag: v0.0.1-alpha~988 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0ec596c0059dea40e66395827381ebcdfe809d5;p=oweals%2Fpeertube.git Don't forget to test the client stuffs --- diff --git a/server/tests/api/users.js b/server/tests/api/users.js index 506b19299..2c97f75d4 100644 --- a/server/tests/api/users.js +++ b/server/tests/api/users.js @@ -31,6 +31,12 @@ describe('Test users', function () { ], done) }) + it('Should create a new client') + + it('Should return the first client') + + it('Should remove the last client') + it('Should not login with an invalid client id', function (done) { const client = { id: 'client', password: server.client.secret } utils.login(server.url, client, server.user, 400, function (err, res) {