aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/real-world/tools
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-28 14:29:57 +0100
committerChocobozzz <me@florianbigard.com>2017-12-28 14:29:57 +0100
commiteec63bbc0f4fdb39e56f37127b35c449f90a135f (patch)
tree2403f5efea3e281698ae4a6b550fea9dfc52e390 /server/tests/real-world/tools
parentc5d31dba56d669c0df0209761c43c5a6ac7cec4a (diff)
downloadPeerTube-eec63bbc0f4fdb39e56f37127b35c449f90a135f.tar.gz
PeerTube-eec63bbc0f4fdb39e56f37127b35c449f90a135f.tar.zst
PeerTube-eec63bbc0f4fdb39e56f37127b35c449f90a135f.zip
Improve check follow params tests
Diffstat (limited to 'server/tests/real-world/tools')
-rw-r--r--server/tests/real-world/tools/get-access-token.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/real-world/tools/get-access-token.ts b/server/tests/real-world/tools/get-access-token.ts
index 138883ae9..ee14733e3 100644
--- a/server/tests/real-world/tools/get-access-token.ts
+++ b/server/tests/real-world/tools/get-access-token.ts
@@ -2,7 +2,7 @@ import * as program from 'commander'
2 2
3import { 3import {
4 getClient, 4 getClient,
5 loginAndGetAccessToken 5 serverLogin
6} from '../../utils' 6} from '../../utils'
7 7
8program 8program
@@ -36,7 +36,7 @@ getClient(program.url)
36 server.client.id = res.body.client_id 36 server.client.id = res.body.client_id
37 server.client.secret = res.body.client_secret 37 server.client.secret = res.body.client_secret
38 38
39 return loginAndGetAccessToken(server) 39 return serverLogin(server)
40 }) 40 })
41 .then(accessToken => { 41 .then(accessToken => {
42 console.log(accessToken) 42 console.log(accessToken)