diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-27 22:17:55 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-27 22:17:55 +0200 |
commit | b0ec596c0059dea40e66395827381ebcdfe809d5 (patch) | |
tree | 357ebc1a2c485c13c39320c561292be98ab6fe69 /server/tests/api/users.js | |
parent | 23a5a916dba8960e77e0dcc9f9050e0df0a5f60b (diff) | |
download | PeerTube-b0ec596c0059dea40e66395827381ebcdfe809d5.tar.gz PeerTube-b0ec596c0059dea40e66395827381ebcdfe809d5.tar.zst PeerTube-b0ec596c0059dea40e66395827381ebcdfe809d5.zip |
Don't forget to test the client stuffs
Diffstat (limited to 'server/tests/api/users.js')
-rw-r--r-- | server/tests/api/users.js | 6 |
1 files changed, 6 insertions, 0 deletions
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 () { | |||
31 | ], done) | 31 | ], done) |
32 | }) | 32 | }) |
33 | 33 | ||
34 | it('Should create a new client') | ||
35 | |||
36 | it('Should return the first client') | ||
37 | |||
38 | it('Should remove the last client') | ||
39 | |||
34 | it('Should not login with an invalid client id', function (done) { | 40 | it('Should not login with an invalid client id', function (done) { |
35 | const client = { id: 'client', password: server.client.secret } | 41 | const client = { id: 'client', password: server.client.secret } |
36 | utils.login(server.url, client, server.user, 400, function (err, res) { | 42 | utils.login(server.url, client, server.user, 400, function (err, res) { |