1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Server: implement refresh token

This commit is contained in:
Chocobozzz 2016-07-20 16:23:58 +02:00
parent 66698b833f
commit 2f372a8654
9 changed files with 78 additions and 23 deletions

View file

@ -144,7 +144,7 @@ describe('Test users', function () {
utils.removeVideo(server.url, accessToken, videoId, done)
})
it('Should logout')
it('Should logout (revoke token)')
it('Should not be able to upload a video')
@ -152,6 +152,12 @@ describe('Test users', function () {
it('Should be able to login again')
it('Should have an expired access token')
it('Should refresh the token')
it('Should be able to upload a video again')
after(function (done) {
process.kill(-server.app.pid)