Don't forget to test the client stuffs

pull/10/head
Chocobozzz 2016-04-27 22:17:55 +02:00
parent 23a5a916db
commit b0ec596c00
1 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,12 @@ describe('Test users', function () {
], done) ], 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) { it('Should not login with an invalid client id', function (done) {
const client = { id: 'client', password: server.client.secret } const client = { id: 'client', password: server.client.secret }
utils.login(server.url, client, server.user, 400, function (err, res) { utils.login(server.url, client, server.user, 400, function (err, res) {