From eec63bbc0f4fdb39e56f37127b35c449f90a135f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Dec 2017 14:29:57 +0100 Subject: Improve check follow params tests --- server/tests/real-world/tools/get-access-token.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/real-world') 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' import { getClient, - loginAndGetAccessToken + serverLogin } from '../../utils' program @@ -36,7 +36,7 @@ getClient(program.url) server.client.id = res.body.client_id server.client.secret = res.body.client_secret - return loginAndGetAccessToken(server) + return serverLogin(server) }) .then(accessToken => { console.log(accessToken) -- cgit v1.2.3