diff options
Diffstat (limited to 'server/tests/real-world/tools')
-rw-r--r-- | server/tests/real-world/tools/get-access-token.ts | 4 |
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 | ||
3 | import { | 3 | import { |
4 | getClient, | 4 | getClient, |
5 | loginAndGetAccessToken | 5 | serverLogin |
6 | } from '../../utils' | 6 | } from '../../utils' |
7 | 7 | ||
8 | program | 8 | program |
@@ -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) |