projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a5a91
)
Don't forget to test the client stuffs
author
Chocobozzz
<florian.bigard@gmail.com>
Wed, 27 Apr 2016 20:17:55 +0000
(22:17 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Wed, 27 Apr 2016 20:17:55 +0000
(22:17 +0200)
server/tests/api/users.js
patch
|
blob
|
history
diff --git
a/server/tests/api/users.js
b/server/tests/api/users.js
index 506b1929959301e305e6becd8f2cf761a537b64f..2c97f75d4f52a24bc3c867e052ff1f8c17319ec7 100644
(file)
--- 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) {