From 2668302dc80ec018629a2a7b904ccbe87769e29a Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Fri, 9 Feb 2024 12:02:03 +0100 Subject: [PATCH] add tests --- test/management/organizations.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/management/organizations.test.ts b/test/management/organizations.test.ts index 62e3f18c1..69a05cc8d 100644 --- a/test/management/organizations.test.ts +++ b/test/management/organizations.test.ts @@ -429,6 +429,7 @@ describe('OrganizationsManager', () => { const data = { id: 'org_id', connectionId: 'conn_id', + show_as_button: false, }; beforeEach(() => { @@ -484,7 +485,7 @@ describe('OrganizationsManager', () => { id: 'org_123', }; - const body = { connection_id: '123', assign_membership_on_login: false }; + const body = { connection_id: '123', assign_membership_on_login: false, show_as_button: false }; beforeEach(() => { request = nock(API_URL).post(`/organizations/${data.id}/enabled_connections`).reply(200, {}); @@ -551,6 +552,7 @@ describe('OrganizationsManager', () => { const data = { id: 'org_123', connectionId: '123', + show_as_button: false, }; const body = { assign_membership_on_login: false };