From 51706c90702e6112707939bb2390332f7c12c42d Mon Sep 17 00:00:00 2001 From: Johan Date: Fri, 29 Dec 2023 20:06:51 +0100 Subject: [PATCH] fix tests --- src/zoho/zoho.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zoho/zoho.test.ts b/src/zoho/zoho.test.ts index 37135f7..d6bf4c8 100644 --- a/src/zoho/zoho.test.ts +++ b/src/zoho/zoho.test.ts @@ -3,7 +3,9 @@ import nock from "nock"; const redirect_uri = "https://myhost/sso/zoho/redirect"; -const z = new Z("clientId", "clientSecret", redirect_uri); +const z = new Z("clientId", "clientSecret", redirect_uri, [ + "AaaServer.profile.Read", +]); const accessToken = "myaccesstoken"; nock("https://accounts.zoho.com/oauth/v2").post("/token").reply(200, {