aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-20 16:23:58 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-20 16:23:58 +0200
commit2f372a865487427ff97ad17edd0e6adfbb478c80 (patch)
tree84e8b2ba2240e83dcdeeb057579327b0a663974b /server/tests/api
parent66698b833f77806045b36fdeba612acda43dd7f7 (diff)
downloadPeerTube-2f372a865487427ff97ad17edd0e6adfbb478c80.tar.gz
PeerTube-2f372a865487427ff97ad17edd0e6adfbb478c80.tar.zst
PeerTube-2f372a865487427ff97ad17edd0e6adfbb478c80.zip
Server: implement refresh token
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/users.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/tests/api/users.js b/server/tests/api/users.js
index 749aa8af8..68ba9de33 100644
--- a/server/tests/api/users.js
+++ b/server/tests/api/users.js
@@ -144,7 +144,7 @@ describe('Test users', function () {
144 utils.removeVideo(server.url, accessToken, videoId, done) 144 utils.removeVideo(server.url, accessToken, videoId, done)
145 }) 145 })
146 146
147 it('Should logout') 147 it('Should logout (revoke token)')
148 148
149 it('Should not be able to upload a video') 149 it('Should not be able to upload a video')
150 150
@@ -152,6 +152,12 @@ describe('Test users', function () {
152 152
153 it('Should be able to login again') 153 it('Should be able to login again')
154 154
155 it('Should have an expired access token')
156
157 it('Should refresh the token')
158
159 it('Should be able to upload a video again')
160
155 after(function (done) { 161 after(function (done) {
156 process.kill(-server.app.pid) 162 process.kill(-server.app.pid)
157 163