Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan committed Dec 29, 2023
1 parent 8a657eb commit 51706c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/zoho/zoho.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 51706c9

Please sign in to comment.