diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/users.js | 8 |
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 | ||