diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-28 14:29:57 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-28 14:29:57 +0100 |
commit | eec63bbc0f4fdb39e56f37127b35c449f90a135f (patch) | |
tree | 2403f5efea3e281698ae4a6b550fea9dfc52e390 /server/tests/api/users | |
parent | c5d31dba56d669c0df0209761c43c5a6ac7cec4a (diff) | |
download | PeerTube-eec63bbc0f4fdb39e56f37127b35c449f90a135f.tar.gz PeerTube-eec63bbc0f4fdb39e56f37127b35c449f90a135f.tar.zst PeerTube-eec63bbc0f4fdb39e56f37127b35c449f90a135f.zip |
Improve check follow params tests
Diffstat (limited to 'server/tests/api/users')
-rw-r--r-- | server/tests/api/users/users.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index 2e3a0b94f..298dbce2c 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts | |||
@@ -15,7 +15,7 @@ import { | |||
15 | getVideosList, | 15 | getVideosList, |
16 | killallServers, | 16 | killallServers, |
17 | login, | 17 | login, |
18 | loginAndGetAccessToken, | 18 | serverLogin, |
19 | makePutBodyRequest, | 19 | makePutBodyRequest, |
20 | rateVideo, | 20 | rateVideo, |
21 | registerUser, | 21 | registerUser, |
@@ -193,7 +193,7 @@ describe('Test users', function () { | |||
193 | password: 'super password' | 193 | password: 'super password' |
194 | } | 194 | } |
195 | 195 | ||
196 | accessTokenUser = await loginAndGetAccessToken(server) | 196 | accessTokenUser = await serverLogin(server) |
197 | }) | 197 | }) |
198 | 198 | ||
199 | it('Should be able to get the user information', async function () { | 199 | it('Should be able to get the user information', async function () { |
@@ -511,7 +511,7 @@ describe('Test users', function () { | |||
511 | password: 'my super password' | 511 | password: 'my super password' |
512 | } | 512 | } |
513 | 513 | ||
514 | accessToken = await loginAndGetAccessToken(server) | 514 | accessToken = await serverLogin(server) |
515 | }) | 515 | }) |
516 | 516 | ||
517 | it('Should have the correct video quota', async function () { | 517 | it('Should have the correct video quota', async function () { |