Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Feb 9, 2024
1 parent cd6c887 commit 2668302
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/management/organizations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ describe('OrganizationsManager', () => {
const data = {
id: 'org_id',
connectionId: 'conn_id',
show_as_button: false,
};

beforeEach(() => {
Expand Down Expand Up @@ -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, {});
Expand Down Expand Up @@ -551,6 +552,7 @@ describe('OrganizationsManager', () => {
const data = {
id: 'org_123',
connectionId: '123',
show_as_button: false,
};
const body = { assign_membership_on_login: false };

Expand Down

0 comments on commit 2668302

Please sign in to comment.