Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests
Browse files Browse the repository at this point in the history
frederikprijck committed Feb 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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 };

0 comments on commit 2668302

Please sign in to comment.